Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009112/0.0009113, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.671/1.671, allocations: 221.5 MB / 230.7 MB, free: 7.551 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009061/0.0009063, allocations: 94.47 kB / 281.6 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2395/0.2395, allocations: 44.15 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.882e-05/1.881e-05, allocations: 4.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1357, allocations: 61.91 MB / 0.4948 GB, free: 1.168 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4124/0.5482, allocations: 85.1 MB / 0.5779 GB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/0.5484, allocations: 63.97 kB / 0.5779 GB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005457/0.5539, allocations: 2.064 MB / 0.5799 GB, free: 9.254 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.554, allocations: 4 kB / 0.5799 GB, free: 9.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.554, allocations: 0 / 0.5799 GB, free: 9.25 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004125/0.5544, allocations: 374.5 kB / 0.5803 GB, free: 8.836 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.5544, allocations: 12.73 kB / 0.5803 GB, free: 8.824 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.5545, allocations: 7.906 kB / 0.5803 GB, free: 8.816 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.5546, allocations: 179.8 kB / 0.5805 GB, free: 8.602 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.5547, allocations: 4 kB / 0.5805 GB, free: 8.598 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.5547, allocations: 8 kB / 0.5805 GB, free: 8.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000125/0.5548, allocations: 56.41 kB / 0.5806 GB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.555, allocations: 112.7 kB / 0.5807 GB, free: 8.414 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.555, allocations: 0 / 0.5807 GB, free: 8.414 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.5551, allocations: 3.938 kB / 0.5807 GB, free: 8.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.5551, allocations: 4 kB / 0.5807 GB, free: 8.406 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006808/0.5558, allocations: 0.5091 MB / 0.5812 GB, free: 7.852 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.5559, allocations: 85.16 kB / 0.5812 GB, free: 7.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.891e-05/0.556, allocations: 29.72 kB / 0.5813 GB, free: 7.715 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.556, allocations: 0 / 0.5813 GB, free: 7.715 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.556, allocations: 34.52 kB / 0.5813 GB, free: 7.672 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.556, allocations: 0 / 0.5813 GB, free: 7.672 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003073/0.5564, allocations: 103.3 kB / 0.5814 GB, free: 7.559 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.5564, allocations: 81.09 kB / 0.5815 GB, free: 7.461 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.171e-05/0.5565, allocations: 108.9 kB / 0.5816 GB, free: 7.348 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.5565, allocations: 29.64 kB / 0.5816 GB, free: 7.312 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.035e-05/0.5566, allocations: 123.5 kB / 0.5817 GB, free: 7.191 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.5566, allocations: 31.47 kB / 0.5818 GB, free: 7.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.5566, allocations: 0 / 0.5818 GB, free: 7.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.388e-05/0.5567, allocations: 322.8 kB / 0.5821 GB, free: 6.836 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.29e-05/0.5568, allocations: 20 kB / 0.5821 GB, free: 6.816 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.833e-05/0.5568, allocations: 84.58 kB / 0.5822 GB, free: 6.703 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.975e-05/0.5569, allocations: 37.05 kB / 0.5822 GB, free: 6.668 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.5569, allocations: 0 / 0.5822 GB, free: 6.668 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002282/0.5572, allocations: 147 kB / 0.5823 GB, free: 6.512 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.5572, allocations: 5.094 kB / 0.5824 GB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.5572, allocations: 4 kB / 0.5824 GB, free: 6.504 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001603/0.5574, allocations: 37.95 kB / 0.5824 GB, free: 6.461 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.198e-05/0.5574, allocations: 24 kB / 0.5824 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/0.559, allocations: 2.427 MB / 0.5848 GB, free: 3.781 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.479e-05/0.5591, allocations: 8.156 kB / 0.5848 GB, free: 3.773 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.5591, allocations: 12 kB / 0.5848 GB, free: 3.762 MB / 394.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 7.485e-05/0.5592, allocations: 112.9 kB / 0.5849 GB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000196/0.5594, allocations: 91.33 kB / 0.585 GB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.5595, allocations: 11.86 kB / 0.585 GB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.459e-05/0.5595, allocations: 20.33 kB / 0.585 GB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.5595, allocations: 0 / 0.585 GB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5595, allocations: 4 kB / 0.585 GB, free: 3.504 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.5595, allocations: 7.938 kB / 0.585 GB, free: 3.496 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.5597, allocations: 166.1 kB / 0.5852 GB, free: 3.297 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5598, allocations: 0 / 0.5852 GB, free: 3.297 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.5599, allocations: 12 kB / 0.5852 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.658e-05/0.56, allocations: 37.7 kB / 0.5852 GB, free: 3.242 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.56, allocations: 0 / 0.5852 GB, free: 3.242 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001545/0.5615, allocations: 2.43 MB / 0.5876 GB, free: 0.582 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.5616, allocations: 7.922 kB / 0.5876 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.5618, allocations: 315.3 kB / 0.5879 GB, free: 244 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.832e-05/0.5619, allocations: 85.02 kB / 0.588 GB, free: 140 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.5619, allocations: 0 / 0.588 GB, free: 140 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.779e-05/0.562, allocations: 6.953 kB / 0.588 GB, free: 136 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.302e-05/0.562, allocations: 8.031 kB / 0.588 GB, free: 128 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.562, allocations: 4 kB / 0.588 GB, free: 124 kB / 394.7 MB Notification: Performance of sorting global known variables: time 4.9e-05/0.5621, allocations: 95.27 kB / 0.5881 GB, free: 28 kB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5621, allocations: 0 / 0.5881 GB, free: 28 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.000351/0.5625, allocations: 39.89 kB / 0.5882 GB, free: 15.98 MB / 410.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.000565/0.563, allocations: 0.899 MB / 0.589 GB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003447/0.5634, allocations: 271.7 kB / 0.5893 GB, free: 14.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5634, allocations: 0 / 0.5893 GB, free: 14.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.5636, allocations: 235.6 kB / 0.5895 GB, free: 14.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.564, allocations: 34.66 kB / 0.5896 GB, free: 14.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007902/0.5648, allocations: 439.7 kB / 0.59 GB, free: 14.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.5651, allocations: 0.7084 MB / 0.5907 GB, free: 13.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.945e-05/0.5652, allocations: 12.88 kB / 0.5907 GB, free: 13.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.415e-05/0.5652, allocations: 31.42 kB / 0.5907 GB, free: 13.24 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5652, allocations: 0 / 0.5907 GB, free: 13.24 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/0.5845, allocations: 2.22 MB / 0.5929 GB, free: 11.04 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.5848, allocations: 149.2 kB / 0.593 GB, free: 10.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.501/2.085, allocations: 3.938 kB / 0.593 GB, free: 10.83 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat does not exist to compare? outputFormat=mat