Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001437/0.001437, allocations: 181.1 kB / 8.007 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.657/1.657, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009966/0.0009966, allocations: 82.64 kB / 261.7 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.239/0.239, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.995e-05/1.985e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1364, allocations: 58.85 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4613/0.5978, allocations: 83.89 MB / 0.5479 GB, free: 8.863 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001708/0.5981, allocations: 70.55 kB / 0.548 GB, free: 8.863 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004223/0.6023, allocations: 2.01 MB / 0.55 GB, free: 8.449 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6023, allocations: 0 / 0.55 GB, free: 8.449 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.6023, allocations: 0 / 0.55 GB, free: 8.449 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0003015/0.6026, allocations: 368.1 kB / 0.5503 GB, free: 8.051 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.6027, allocations: 12.03 kB / 0.5503 GB, free: 8.039 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.6027, allocations: 11.91 kB / 0.5504 GB, free: 8.027 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.6028, allocations: 182.8 kB / 0.5505 GB, free: 7.809 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.6029, allocations: 4 kB / 0.5505 GB, free: 7.805 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.6029, allocations: 8 kB / 0.5505 GB, free: 7.797 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001268/0.603, allocations: 53.45 kB / 0.5506 GB, free: 7.762 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.6033, allocations: 113.2 kB / 0.5507 GB, free: 7.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.6033, allocations: 0 / 0.5507 GB, free: 7.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.6033, allocations: 0 / 0.5507 GB, free: 7.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.6033, allocations: 4 kB / 0.5507 GB, free: 7.656 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006934/0.604, allocations: 0.5128 MB / 0.5512 GB, free: 7.156 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.419e-05/0.6041, allocations: 84.83 kB / 0.5513 GB, free: 7.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.008e-05/0.6042, allocations: 24.72 kB / 0.5513 GB, free: 7.047 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.6042, allocations: 7.984 kB / 0.5513 GB, free: 7.039 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.6042, allocations: 30.56 kB / 0.5513 GB, free: 7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.6042, allocations: 4 kB / 0.5513 GB, free: 6.996 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002813/0.6045, allocations: 92.89 kB / 0.5514 GB, free: 6.906 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/0.6046, allocations: 81.11 kB / 0.5515 GB, free: 6.809 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.414e-05/0.6046, allocations: 115.8 kB / 0.5516 GB, free: 6.695 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.657e-06/0.6046, allocations: 29.64 kB / 0.5517 GB, free: 6.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.49e-05/0.6047, allocations: 110.7 kB / 0.5518 GB, free: 6.555 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.6047, allocations: 31.11 kB / 0.5518 GB, free: 6.527 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.6047, allocations: 3.5 kB / 0.5518 GB, free: 6.527 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.977e-05/0.6048, allocations: 330.3 kB / 0.5521 GB, free: 6.199 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.176e-05/0.6048, allocations: 22.62 kB / 0.5521 GB, free: 6.184 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.963e-05/0.6049, allocations: 79.62 kB / 0.5522 GB, free: 6.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.502e-05/0.6049, allocations: 26.67 kB / 0.5522 GB, free: 6.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.6049, allocations: 4 kB / 0.5522 GB, free: 6.066 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001954/0.6051, allocations: 146.8 kB / 0.5524 GB, free: 5.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.6052, allocations: 11.92 kB / 0.5524 GB, free: 5.918 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.6052, allocations: 4 kB / 0.5524 GB, free: 5.914 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001563/0.6053, allocations: 36.48 kB / 0.5524 GB, free: 5.879 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.005e-05/0.6054, allocations: 19.98 kB / 0.5524 GB, free: 5.859 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/0.6065, allocations: 2.436 MB / 0.5548 GB, free: 3.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.381e-05/0.6066, allocations: 7.906 kB / 0.5548 GB, free: 3.262 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.6066, allocations: 7.938 kB / 0.5548 GB, free: 3.254 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.891e-05/0.6067, allocations: 108.9 kB / 0.5549 GB, free: 3.141 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001572/0.6068, allocations: 105.1 kB / 0.555 GB, free: 3.039 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.6069, allocations: 7.906 kB / 0.555 GB, free: 3.031 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.352e-05/0.6069, allocations: 12.28 kB / 0.5551 GB, free: 3.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.6069, allocations: 0 / 0.5551 GB, free: 3.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.6069, allocations: 0 / 0.5551 GB, free: 3.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.6069, allocations: 7.984 kB / 0.5551 GB, free: 3.012 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.6071, allocations: 168.8 kB / 0.5552 GB, free: 2.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.6071, allocations: 0 / 0.5552 GB, free: 2.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.975e-05/0.6072, allocations: 15.94 kB / 0.5552 GB, free: 2.805 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.215e-05/0.6073, allocations: 36.77 kB / 0.5553 GB, free: 2.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.6073, allocations: 4 kB / 0.5553 GB, free: 2.766 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001362/0.6086, allocations: 2.425 MB / 0.5576 GB, free: 16.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.6087, allocations: 4.25 kB / 0.5577 GB, free: 16.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.609, allocations: 307.8 kB / 0.5579 GB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.884e-05/0.6091, allocations: 81.02 kB / 0.558 GB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.6091, allocations: 7.938 kB / 0.558 GB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.082e-05/0.6092, allocations: 3.625 kB / 0.558 GB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.6092, allocations: 15.98 kB / 0.558 GB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.6092, allocations: 0 / 0.558 GB, free: 15.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.948e-05/0.6093, allocations: 92.38 kB / 0.5581 GB, free: 15.67 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6093, allocations: 0 / 0.5581 GB, free: 15.67 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003572/0.6097, allocations: 31.94 kB / 0.5582 GB, free: 15.64 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.phi,J2.w,J3.phi,J4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007273/0.6104, allocations: 0.9066 MB / 0.5591 GB, free: 14.72 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004628/0.6109, allocations: 281 kB / 0.5593 GB, free: 14.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.6109, allocations: 4.062 kB / 0.5593 GB, free: 14.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002564/0.6111, allocations: 234.4 kB / 0.5595 GB, free: 14.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.6115, allocations: 19.86 kB / 0.5596 GB, free: 14.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009774/0.6125, allocations: 450.5 kB / 0.56 GB, free: 13.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/0.613, allocations: 0.7123 MB / 0.5607 GB, free: 12.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.947e-05/0.613, allocations: 8.875 kB / 0.5607 GB, free: 12.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.791e-05/0.6131, allocations: 33.11 kB / 0.5607 GB, free: 12.96 MB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.6131, allocations: 0 / 0.5607 GB, free: 12.96 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02138/0.6345, allocations: 2.21 MB / 0.5629 GB, free: 10.75 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/0.6348, allocations: 138.6 kB / 0.563 GB, free: 10.56 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.502/2.136, allocations: 11.91 kB / 0.563 GB, free: 10.55 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat does not exist to compare? outputFormat=mat