Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.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.Blocks.KinematicPTP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_KinematicPTP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.KinematicPTP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_KinematicPTP",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.001005/0.001005, allocations: 183.8 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009483/0.0009483, allocations: 90.84 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.209/0.209, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003071/0.0003072, allocations: 8 kB / 431.5 MB, free: 19.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1196, allocations: 58.86 MB / 490.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3867/0.5064, allocations: 88.19 MB / 0.565 GB, free: 11.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000196/0.5066, allocations: 63.47 kB / 0.565 GB, free: 11.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03381/0.5405, allocations: 11.77 MB / 0.5765 GB, free: 1.344 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5405, allocations: 0 / 0.5765 GB, free: 1.344 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.612e-05/0.5405, allocations: 11.94 kB / 0.5765 GB, free: 1.332 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002115/0.5427, allocations: 0.9423 MB / 0.5775 GB, free: 384 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.5427, allocations: 8.031 kB / 0.5775 GB, free: 376 kB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001358/0.5428, allocations: 85.41 kB / 0.5775 GB, free: 312 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.543, allocations: 60.12 kB / 0.5776 GB, free: 252 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000545/0.5435, allocations: 380.7 kB / 0.578 GB, free: 15.88 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003378/0.5439, allocations: 274.4 kB / 0.5782 GB, free: 15.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.163e-05/0.544, allocations: 42.81 kB / 0.5783 GB, free: 15.56 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/0.5459, allocations: 0.8723 MB / 0.5791 GB, free: 14.85 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.5459, allocations: 3.906 kB / 0.5791 GB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.663e-05/0.546, allocations: 15.44 kB / 0.5791 GB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.546, allocations: 15.98 kB / 0.5792 GB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00342/0.5494, allocations: 1.337 MB / 0.5805 GB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002805/0.5523, allocations: 2.075 MB / 0.5825 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002637/0.5549, allocations: 0.8667 MB / 0.5833 GB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.466e-05/0.555, allocations: 12.56 kB / 0.5833 GB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.555, allocations: 38.38 kB / 0.5834 GB, free: 11.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=66): time 2.325e-06/0.555, allocations: 0 / 0.5834 GB, free: 11.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=122): time 0.08727/0.6423, allocations: 18.3 MB / 0.6012 GB, free: 11.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.444e-05/0.6424, allocations: 90.23 kB / 0.6013 GB, free: 11.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005539/0.643, allocations: 374.6 kB / 0.6017 GB, free: 10.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001557/0.6432, allocations: 45.52 kB / 0.6017 GB, free: 10.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.6433, allocations: 214.4 kB / 0.6019 GB, free: 10.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003785/0.6437, allocations: 402.6 kB / 0.6023 GB, free: 10.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.6438, allocations: 36 kB / 0.6024 GB, free: 10.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.644, allocations: 372.5 kB / 0.6027 GB, free: 9.816 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003414/0.6474, allocations: 1.461 MB / 0.6041 GB, free: 8.848 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003489/0.6509, allocations: 1.616 MB / 0.6057 GB, free: 7.707 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003163/0.6541, allocations: 1.307 MB / 0.607 GB, free: 6.848 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.6541, allocations: 3.938 kB / 0.607 GB, free: 6.844 MB / 410.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.007174/0.6613, allocations: 3.07 MB / 0.61 GB, free: 4.734 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.6614, allocations: 7.953 kB / 0.61 GB, free: 4.727 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.6614, allocations: 4 kB / 0.61 GB, free: 4.723 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.6614, allocations: 16.23 kB / 0.61 GB, free: 4.707 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002687/0.6641, allocations: 466.7 kB / 0.6105 GB, free: 4.262 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.89e-05/0.6641, allocations: 11.94 kB / 0.6105 GB, free: 4.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/0.6661, allocations: 284.5 kB / 0.6108 GB, free: 3.992 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/0.6663, allocations: 41.98 kB / 0.6108 GB, free: 3.961 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 12 (kinematicPTP2a.noWphase,kinematicPTP2b.moving[1],kinematicPTP2b.motion_ref,kinematicPTP2b.noWphase,kinematicPTP1a.noWphase,kinematicPTP1b.moving[1],kinematicPTP1b.motion_ref,kinematicPTP1b.noWphase,integrator3.local_reset,integrator2.local_reset,integrator1.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004859/0.6668, allocations: 235.7 kB / 0.611 GB, free: 3.777 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002105/0.667, allocations: 59.25 kB / 0.6111 GB, free: 3.719 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.6673, allocations: 118.7 kB / 0.6112 GB, free: 3.684 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.6673, allocations: 12 kB / 0.6112 GB, free: 3.672 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.6673, allocations: 0 / 0.6112 GB, free: 3.672 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.6673, allocations: 7.969 kB / 0.6112 GB, free: 3.664 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01101/0.6783, allocations: 5.586 MB / 0.6167 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.469e-05/0.6784, allocations: 20 kB / 0.6167 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001519/0.6799, allocations: 419.8 kB / 0.6171 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.24e-05/0.68, allocations: 32 kB / 0.6171 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.465e-05/0.6801, allocations: 47.94 kB / 0.6172 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.919e-05/0.6801, allocations: 35.86 kB / 0.6172 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-05/0.6801, allocations: 39.8 kB / 0.6172 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00785/0.688, allocations: 4.532 MB / 0.6217 GB, free: 8.457 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005039/0.6885, allocations: 252.2 kB / 0.6219 GB, free: 8.191 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.6887, allocations: 51.97 kB / 0.6219 GB, free: 8.141 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/0.69, allocations: 255.8 kB / 0.6222 GB, free: 7.891 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004296/0.6904, allocations: 231.3 kB / 0.6224 GB, free: 7.664 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.6905, allocations: 67.98 kB / 0.6225 GB, free: 7.598 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003906/0.6909, allocations: 275.1 kB / 0.6227 GB, free: 7.328 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6909, allocations: 0 / 0.6227 GB, free: 7.328 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001064/0.692, allocations: 240 kB / 0.623 GB, free: 7.094 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 94 * Number of states: 4 (integrator2.y,integrator3.y,integrator.y,integrator1.y) * Number of discrete variables: 8 (kinematicPTP2b.moving[1],kinematicPTP2b.motion_ref,kinematicPTP1b.moving[1],kinematicPTP1b.motion_ref,kinematicPTP2b.noWphase,kinematicPTP2a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1a.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 122 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01028/0.7023, allocations: 11.53 MB / 0.6342 GB, free: 10.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00635/0.7087, allocations: 2.59 MB / 0.6368 GB, free: 8.309 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.846e-05/0.7088, allocations: 4 kB / 0.6368 GB, free: 8.305 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003379/0.7122, allocations: 1.191 MB / 0.6379 GB, free: 7.121 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009567/0.7131, allocations: 140.4 kB / 0.6381 GB, free: 6.988 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0176/0.7307, allocations: 10.2 MB / 0.648 GB, free: 12.38 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006247/0.7314, allocations: 0.9398 MB / 0.6489 GB, free: 11.42 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001313/0.7328, allocations: 194 kB / 0.6491 GB, free: 11.23 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006864/0.7335, allocations: 219.3 kB / 0.6493 GB, free: 11.01 MB / 458.7 MB Notification: Performance of SimCode: time 8.42e-07/0.7335, allocations: 0 / 0.6493 GB, free: 11.01 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03695/0.7704, allocations: 19.91 MB / 0.6688 GB, free: 7.098 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001521/0.7706, allocations: 167.8 kB / 0.6689 GB, free: 6.852 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.42/3.191, allocations: 0 / 0.6689 GB, free: 6.852 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_KinematicPTP_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_KinematicPTP.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP_res.mat does not exist to compare? outputFormat=mat