Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.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.Directions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions",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.001435/0.001435, allocations: 183.8 kB / 13.19 MB, free: 2.129 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.964/1.964, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008863/0.0008864, allocations: 99.77 kB / 267.1 MB, free: 9.262 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.4359/0.4359, allocations: 43.47 MB / 358.6 MB, free: 52.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.927e-05/4.929e-05, allocations: 4 kB / 425.4 MB, free: 8.789 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1598, allocations: 58.85 MB / 484.3 MB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4796/0.6394, allocations: 86.89 MB / 0.5578 GB, free: 2.047 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/0.6398, allocations: 71.95 kB / 0.5578 GB, free: 1.977 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01681/0.6567, allocations: 6.276 MB / 0.5639 GB, free: 11.71 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.836e-06/0.6567, allocations: 0 / 0.5639 GB, free: 11.71 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.545e-05/0.6568, allocations: 12 kB / 0.564 GB, free: 11.7 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009421/0.6577, allocations: 0.5791 MB / 0.5645 GB, free: 11.08 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.303e-05/0.6578, allocations: 8.031 kB / 0.5645 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001072/0.6579, allocations: 78.47 kB / 0.5646 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.85e-05/0.658, allocations: 39.53 kB / 0.5646 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000387/0.6584, allocations: 279.3 kB / 0.5649 GB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.675e-05/0.6584, allocations: 30.16 kB / 0.5649 GB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.95e-05/0.6585, allocations: 39.91 kB / 0.565 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006551/0.6592, allocations: 362.2 kB / 0.5653 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.6592, allocations: 4 kB / 0.5653 GB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.044e-05/0.6593, allocations: 19.95 kB / 0.5653 GB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/0.6593, allocations: 12 kB / 0.5654 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004015/0.6597, allocations: 206.3 kB / 0.5656 GB, free: 9.961 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0017/0.6614, allocations: 1.097 MB / 0.5666 GB, free: 8.805 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005047/0.662, allocations: 342.2 kB / 0.567 GB, free: 8.445 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000239/0.6622, allocations: 158.5 kB / 0.5671 GB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.639e-05/0.6622, allocations: 11.89 kB / 0.5671 GB, free: 8.273 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.6623, allocations: 39.31 kB / 0.5672 GB, free: 8.227 MB / 394.7 MB Notification: Performance of pre-optimization done (n=39): time 1.974e-06/0.6623, allocations: 0 / 0.5672 GB, free: 8.227 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.003365/0.6657, allocations: 2.26 MB / 0.5694 GB, free: 5.695 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.633e-05/0.6658, allocations: 114.8 kB / 0.5695 GB, free: 5.559 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.666, allocations: 214.9 kB / 0.5697 GB, free: 5.344 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.6661, allocations: 33.7 kB / 0.5697 GB, free: 5.305 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.6662, allocations: 184.6 kB / 0.5699 GB, free: 5.121 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.6663, allocations: 197 kB / 0.5701 GB, free: 4.926 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-05/0.6664, allocations: 12 kB / 0.5701 GB, free: 4.914 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.6665, allocations: 347.7 kB / 0.5704 GB, free: 4.566 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.6667, allocations: 109.1 kB / 0.5705 GB, free: 4.461 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.667, allocations: 211.9 kB / 0.5707 GB, free: 4.219 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/0.6672, allocations: 163.2 kB / 0.5709 GB, free: 4.066 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.6673, allocations: 4 kB / 0.5709 GB, free: 4.062 MB / 394.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008911/0.6682, allocations: 0.507 MB / 0.5714 GB, free: 3.539 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.6682, allocations: 8 kB / 0.5714 GB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.6682, allocations: 0 / 0.5714 GB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003713/0.6686, allocations: 130.5 kB / 0.5715 GB, free: 3.395 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004219/0.669, allocations: 99.88 kB / 0.5716 GB, free: 3.297 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004167/0.6732, allocations: 4.672 MB / 0.5762 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002978/0.6735, allocations: 20 kB / 0.5762 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.102e-05/0.6736, allocations: 20 kB / 0.5762 GB, free: 14.19 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001636/0.6738, allocations: 140.1 kB / 0.5763 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.6739, allocations: 39.58 kB / 0.5764 GB, free: 14.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.674, allocations: 41.97 kB / 0.5764 GB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.674, allocations: 11.98 kB / 0.5764 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.876e-05/0.674, allocations: 4 kB / 0.5764 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.674, allocations: 0 / 0.5764 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001908/0.676, allocations: 1.31 MB / 0.5777 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.676, allocations: 0 / 0.5777 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004141/0.6764, allocations: 99.88 kB / 0.5778 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000272/0.6767, allocations: 98.56 kB / 0.5779 GB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/0.6767, allocations: 11.98 kB / 0.5779 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003115/0.6798, allocations: 4.089 MB / 0.5819 GB, free: 7.871 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.6799, allocations: 4.031 kB / 0.5819 GB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.6812, allocations: 0.9433 MB / 0.5828 GB, free: 6.859 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.6813, allocations: 108.8 kB / 0.5829 GB, free: 6.734 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.03e-05/0.6813, allocations: 12 kB / 0.5829 GB, free: 6.723 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.6816, allocations: 16 kB / 0.583 GB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.6817, allocations: 47.88 kB / 0.583 GB, free: 6.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/0.6818, allocations: 20.11 kB / 0.583 GB, free: 6.641 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001683/0.6819, allocations: 175.1 kB / 0.5832 GB, free: 6.469 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6819, allocations: 0 / 0.5832 GB, free: 6.469 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007705/0.6827, allocations: 120 kB / 0.5833 GB, free: 6.352 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001604/0.6843, allocations: 1.842 MB / 0.5851 GB, free: 4.445 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.6855, allocations: 0.7251 MB / 0.5858 GB, free: 3.684 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6855, allocations: 4.188 kB / 0.5858 GB, free: 3.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006665/0.6862, allocations: 0.5495 MB / 0.5864 GB, free: 3.094 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004628/0.6867, allocations: 44.53 kB / 0.5864 GB, free: 3.051 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.6885, allocations: 1.017 MB / 0.5874 GB, free: 1.984 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.6889, allocations: 0.8289 MB / 0.5882 GB, free: 1.125 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00013/0.689, allocations: 35.28 kB / 0.5882 GB, free: 1.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.6892, allocations: 131.4 kB / 0.5884 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of SimCode: time 1.292e-06/0.6892, allocations: 0 / 0.5884 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02114/0.7103, allocations: 7.488 MB / 0.5957 GB, free: 9.535 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002073/0.7106, allocations: 177.3 kB / 0.5958 GB, free: 9.309 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.148/2.859, allocations: 3.938 kB / 0.5958 GB, free: 9.305 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat does not exist to compare? outputFormat=mat