Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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.SimpleDriveTrain,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SimpleDriveTrain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SimpleDriveTrain",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.001098/0.001098, allocations: 183.9 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.625/1.625, 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.0009246/0.0009248, allocations: 86.89 kB / 270.2 MB, free: 13.36 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.2201/0.2201, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003201/0.0003201, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1292, allocations: 58.86 MB / 490.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4366/0.5659, allocations: 86.38 MB / 0.5632 GB, free: 13.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/0.5663, allocations: 81.25 kB / 0.5633 GB, free: 13.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006858/0.5731, allocations: 2.491 MB / 0.5657 GB, free: 11.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.5732, allocations: 0 / 0.5657 GB, free: 11.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.5732, allocations: 0 / 0.5657 GB, free: 11.18 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005624/0.5738, allocations: 414 kB / 0.5661 GB, free: 10.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.295e-05/0.5739, allocations: 12.03 kB / 0.5661 GB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.203e-05/0.5739, allocations: 50.84 kB / 0.5662 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/0.574, allocations: 19.77 kB / 0.5662 GB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.5742, allocations: 205.6 kB / 0.5664 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.5743, allocations: 7.188 kB / 0.5664 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.909e-05/0.5743, allocations: 15.81 kB / 0.5664 GB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.5746, allocations: 131.7 kB / 0.5665 GB, free: 10.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.5746, allocations: 0 / 0.5665 GB, free: 10.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.5747, allocations: 7.062 kB / 0.5665 GB, free: 10.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-05/0.5747, allocations: 0 / 0.5665 GB, free: 10.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002164/0.5749, allocations: 98.06 kB / 0.5666 GB, free: 10.24 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007787/0.5757, allocations: 472.4 kB / 0.5671 GB, free: 9.797 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.576, allocations: 117.9 kB / 0.5672 GB, free: 9.703 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.576, allocations: 4 kB / 0.5672 GB, free: 9.699 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.576, allocations: 30.56 kB / 0.5672 GB, free: 9.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.5761, allocations: 0 / 0.5672 GB, free: 9.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.001687/0.5777, allocations: 0.8124 MB / 0.568 GB, free: 8.883 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.5778, allocations: 55.41 kB / 0.5681 GB, free: 8.816 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.578, allocations: 131.5 kB / 0.5682 GB, free: 8.691 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.578, allocations: 29.2 kB / 0.5682 GB, free: 8.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.638e-05/0.5781, allocations: 108.8 kB / 0.5683 GB, free: 8.559 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.854e-05/0.5781, allocations: 68.75 kB / 0.5684 GB, free: 8.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.068e-05/0.5782, allocations: 4 kB / 0.5684 GB, free: 8.496 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.5783, allocations: 324.5 kB / 0.5687 GB, free: 8.176 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.5784, allocations: 52.05 kB / 0.5688 GB, free: 8.137 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.5786, allocations: 71.78 kB / 0.5688 GB, free: 8.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.5787, allocations: 59.75 kB / 0.5689 GB, free: 8.035 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.5787, allocations: 0 / 0.5689 GB, free: 8.035 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003896/0.5791, allocations: 221.8 kB / 0.5691 GB, free: 7.859 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.5792, allocations: 4 kB / 0.5691 GB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.5792, allocations: 3.984 kB / 0.5691 GB, free: 7.852 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001697/0.5794, allocations: 39.53 kB / 0.5691 GB, free: 7.816 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.5795, allocations: 43.69 kB / 0.5692 GB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.581, allocations: 1.57 MB / 0.5707 GB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.636e-05/0.5811, allocations: 4.031 kB / 0.5707 GB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.5811, allocations: 11.44 kB / 0.5707 GB, free: 6.195 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001234/0.5813, allocations: 123.5 kB / 0.5709 GB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/0.5813, allocations: 15.86 kB / 0.5709 GB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.541e-05/0.5813, allocations: 15.31 kB / 0.5709 GB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.5814, allocations: 12.36 kB / 0.5709 GB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5814, allocations: 3.938 kB / 0.5709 GB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5814, allocations: 0 / 0.5709 GB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007478/0.5821, allocations: 0.5639 MB / 0.5715 GB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.5822, allocations: 3.938 kB / 0.5715 GB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.5823, allocations: 39.89 kB / 0.5715 GB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001039/0.5824, allocations: 27.47 kB / 0.5715 GB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.5825, allocations: 6.234 kB / 0.5715 GB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/0.5836, allocations: 1.386 MB / 0.5729 GB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5836, allocations: 0 / 0.5729 GB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004962/0.5841, allocations: 368.8 kB / 0.5732 GB, free: 3.688 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.5842, allocations: 85.05 kB / 0.5733 GB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.5842, allocations: 6.75 kB / 0.5733 GB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.419e-05/0.5843, allocations: 3.984 kB / 0.5733 GB, free: 3.578 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-05/0.5844, allocations: 18.73 kB / 0.5733 GB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.5844, allocations: 7.938 kB / 0.5733 GB, free: 3.559 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.966e-05/0.5844, allocations: 107 kB / 0.5735 GB, free: 3.461 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5845, allocations: 0 / 0.5735 GB, free: 3.461 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003117/0.5848, allocations: 46.81 kB / 0.5735 GB, free: 3.422 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007986/0.5856, allocations: 0.9628 MB / 0.5744 GB, free: 2.492 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004818/0.5861, allocations: 266.2 kB / 0.5747 GB, free: 2.262 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5861, allocations: 0 / 0.5747 GB, free: 2.262 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002503/0.5863, allocations: 202 kB / 0.5749 GB, free: 2.074 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.5866, allocations: 12.38 kB / 0.5749 GB, free: 2.066 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.5885, allocations: 1.54 MB / 0.5764 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.5889, allocations: 0.7285 MB / 0.5771 GB, free: 15.84 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.448e-05/0.5889, allocations: 9.422 kB / 0.5771 GB, free: 15.83 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.772e-05/0.589, allocations: 41.8 kB / 0.5772 GB, free: 15.81 MB / 394.7 MB Notification: Performance of SimCode: time 3.11e-07/0.589, allocations: 0 / 0.5772 GB, free: 15.81 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01665/0.6057, allocations: 3.03 MB / 0.5801 GB, free: 12.83 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/0.6059, allocations: 201.5 kB / 0.5803 GB, free: 12.6 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.417, allocations: 0 / 0.5803 GB, free: 12.6 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SimpleDriveTrain_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SimpleDriveTrain.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_res.mat does not exist to compare? outputFormat=mat