Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_InitializationConversion_SpringDamper",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.002183/0.00219, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.284/2.284, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001111/0.001111, allocations: 89.98 kB / 267.5 MB, free: 14.05 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.3266/0.3266, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.635e-05/3.651e-05, allocations: 4 kB / 425.4 MB, free: 23.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1257, allocations: 58.85 MB / 484.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5747/0.7005, allocations: 87.17 MB / 0.558 GB, free: 364 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.7008, allocations: 71.44 kB / 0.5581 GB, free: 328 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04498/0.7458, allocations: 8.6 MB / 0.5665 GB, free: 9.191 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.7459, allocations: 0 / 0.5665 GB, free: 9.191 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.179e-05/0.7459, allocations: 8 kB / 0.5665 GB, free: 9.184 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001485/0.7474, allocations: 0.6313 MB / 0.5671 GB, free: 8.531 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/0.7475, allocations: 12.03 kB / 0.5671 GB, free: 8.52 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001413/0.7476, allocations: 85.02 kB / 0.5672 GB, free: 8.457 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.7478, allocations: 55.34 kB / 0.5673 GB, free: 8.402 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005212/0.7483, allocations: 297.2 kB / 0.5675 GB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.28e-05/0.7484, allocations: 41.44 kB / 0.5676 GB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.7485, allocations: 52.59 kB / 0.5676 GB, free: 8.043 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.7496, allocations: 421.1 kB / 0.568 GB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.389e-05/0.7496, allocations: 7.906 kB / 0.568 GB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.429e-05/0.7497, allocations: 22.33 kB / 0.5681 GB, free: 7.734 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/0.7497, allocations: 12 kB / 0.5681 GB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008029/0.7505, allocations: 298.7 kB / 0.5684 GB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002675/0.7532, allocations: 1.166 MB / 0.5695 GB, free: 6.547 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.7543, allocations: 478.1 kB / 0.5699 GB, free: 6.148 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004525/0.7548, allocations: 202.9 kB / 0.5701 GB, free: 6.016 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.669e-05/0.7548, allocations: 8.422 kB / 0.5701 GB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.7549, allocations: 38.56 kB / 0.5702 GB, free: 5.961 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 3.667e-06/0.7549, allocations: 0 / 0.5702 GB, free: 5.961 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.004283/0.7592, allocations: 1.998 MB / 0.5721 GB, free: 4.125 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.101e-05/0.7594, allocations: 85.67 kB / 0.5722 GB, free: 4.023 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003528/0.7597, allocations: 219.9 kB / 0.5724 GB, free: 3.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.582e-05/0.7598, allocations: 40.45 kB / 0.5725 GB, free: 3.805 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.76, allocations: 275.2 kB / 0.5727 GB, free: 3.566 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/0.7603, allocations: 271.5 kB / 0.573 GB, free: 3.332 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/0.7603, allocations: 13.81 kB / 0.573 GB, free: 3.332 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.7605, allocations: 337.5 kB / 0.5733 GB, free: 3.004 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004051/0.7609, allocations: 145.9 kB / 0.5735 GB, free: 2.914 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005196/0.7614, allocations: 270 kB / 0.5737 GB, free: 2.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005111/0.762, allocations: 199.5 kB / 0.5739 GB, free: 2.547 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.762, allocations: 0 / 0.5739 GB, free: 2.547 MB / 378.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001342/0.7633, allocations: 0.533 MB / 0.5744 GB, free: 2.133 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.7634, allocations: 4 kB / 0.5744 GB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.7634, allocations: 8.234 kB / 0.5744 GB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.251e-05/0.7635, allocations: 12 kB / 0.5745 GB, free: 2.109 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.7647, allocations: 174.9 kB / 0.5746 GB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-05/0.7647, allocations: 11.88 kB / 0.5746 GB, free: 1.934 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005389/0.7653, allocations: 30.36 kB / 0.5747 GB, free: 1.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-05/0.7653, allocations: 23.94 kB / 0.5747 GB, free: 1.898 MB / 378.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 (97): * Single equations (assignments): 97 * 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.0001758/0.7655, allocations: 138.8 kB / 0.5748 GB, free: 1.777 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.7657, allocations: 43.44 kB / 0.5749 GB, free: 1.734 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001626/0.7659, allocations: 64.77 kB / 0.5749 GB, free: 1.711 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.7659, allocations: 11.95 kB / 0.5749 GB, free: 1.699 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.7659, allocations: 0 / 0.5749 GB, free: 1.699 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.7659, allocations: 3.984 kB / 0.5749 GB, free: 1.695 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00299/0.7689, allocations: 1.429 MB / 0.5763 GB, free: 424 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.769, allocations: 0 / 0.5763 GB, free: 424 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001307/0.7703, allocations: 161.9 kB / 0.5765 GB, free: 268 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.387e-05/0.7703, allocations: 7.953 kB / 0.5765 GB, free: 260 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.711e-05/0.7704, allocations: 21.75 kB / 0.5765 GB, free: 248 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.454e-05/0.7704, allocations: 16.33 kB / 0.5765 GB, free: 232 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.7704, allocations: 4 kB / 0.5765 GB, free: 228 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.7723, allocations: 1.028 MB / 0.5775 GB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/0.7726, allocations: 128.1 kB / 0.5777 GB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.404e-05/0.7727, allocations: 25.45 kB / 0.5777 GB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005097/0.7732, allocations: 20.11 kB / 0.5777 GB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.322e-05/0.7733, allocations: 40.14 kB / 0.5777 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.276e-05/0.7734, allocations: 27.86 kB / 0.5778 GB, free: 15.05 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002664/0.7737, allocations: 173.7 kB / 0.5779 GB, free: 14.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7737, allocations: 0 / 0.5779 GB, free: 14.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007886/0.7745, allocations: 150.2 kB / 0.5781 GB, free: 14.78 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.002548/0.7771, allocations: 2.42 MB / 0.5804 GB, free: 12.46 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.7782, allocations: 442.4 kB / 0.5809 GB, free: 12.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.7783, allocations: 0 / 0.5809 GB, free: 12.14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005227/0.7788, allocations: 230.7 kB / 0.5811 GB, free: 11.96 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.78, allocations: 107.6 kB / 0.5812 GB, free: 11.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004726/0.7848, allocations: 1.708 MB / 0.5828 GB, free: 10.22 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005903/0.7854, allocations: 0.8566 MB / 0.5837 GB, free: 9.332 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003911/0.7858, allocations: 173.8 kB / 0.5839 GB, free: 9.273 MB / 394.7 MB Notification: Performance of SimCode: time 1.182e-06/0.7859, allocations: 4 kB / 0.5839 GB, free: 9.27 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.638/3.424, allocations: 7.835 MB / 0.5915 GB, free: 1.531 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_InitializationConversion_SpringDamper_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_InitializationConversion_SpringDamper.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat does not exist to compare? outputFormat=mat