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.001531/0.001531, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.05/2.05, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001148/0.001148, allocations: 92.08 kB / 270.9 MB, free: 8.371 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.545/0.545, allocations: 43.55 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004827/0.0004827, allocations: 20 kB / 431.5 MB, free: 5.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.134, allocations: 58.84 MB / 490.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5093/0.6434, allocations: 87.26 MB / 0.564 GB, free: 15.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003496/0.6438, allocations: 71.95 kB / 0.5641 GB, free: 15.04 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04946/0.6933, allocations: 8.606 MB / 0.5725 GB, free: 6.461 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.6933, allocations: 0 / 0.5725 GB, free: 6.461 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.272e-05/0.6934, allocations: 8 kB / 0.5725 GB, free: 6.453 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001606/0.695, allocations: 0.6702 MB / 0.5732 GB, free: 5.738 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/0.6951, allocations: 12.02 kB / 0.5732 GB, free: 5.727 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001718/0.6952, allocations: 82.53 kB / 0.5733 GB, free: 5.637 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.6954, allocations: 59.28 kB / 0.5733 GB, free: 5.578 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005565/0.696, allocations: 289.4 kB / 0.5736 GB, free: 5.258 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.964e-05/0.6961, allocations: 41 kB / 0.5736 GB, free: 5.219 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.6962, allocations: 61.41 kB / 0.5737 GB, free: 5.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.6974, allocations: 422.6 kB / 0.5741 GB, free: 4.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.72e-05/0.6974, allocations: 15.84 kB / 0.5741 GB, free: 4.715 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.902e-05/0.6975, allocations: 19.95 kB / 0.5741 GB, free: 4.695 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.6975, allocations: 12 kB / 0.5741 GB, free: 4.684 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008795/0.6984, allocations: 316.2 kB / 0.5744 GB, free: 4.379 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002853/0.7013, allocations: 1.157 MB / 0.5756 GB, free: 3.168 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.7025, allocations: 485.6 kB / 0.576 GB, free: 2.652 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.761e-05/0.7026, allocations: 16.5 kB / 0.576 GB, free: 2.637 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.7026, allocations: 39 kB / 0.5761 GB, free: 2.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=62): time 3.857e-06/0.7026, allocations: 3.938 kB / 0.5761 GB, free: 2.586 MB / 394.7 MB Notification: Performance of matching and sorting (n=74): time 0.004885/0.7075, allocations: 2.125 MB / 0.5782 GB, free: 308 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.165e-05/0.7076, allocations: 89.61 kB / 0.5782 GB, free: 200 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003831/0.708, allocations: 230.1 kB / 0.5785 GB, free: 15.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.386e-05/0.7081, allocations: 33.7 kB / 0.5785 GB, free: 15.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.7083, allocations: 263.4 kB / 0.5787 GB, free: 15.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000303/0.7086, allocations: 272 kB / 0.579 GB, free: 15.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/0.7087, allocations: 16 kB / 0.579 GB, free: 15.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.7089, allocations: 342.8 kB / 0.5794 GB, free: 15.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004576/0.7093, allocations: 149.9 kB / 0.5795 GB, free: 14.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005642/0.7099, allocations: 276.8 kB / 0.5798 GB, free: 14.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005644/0.7105, allocations: 195.2 kB / 0.5799 GB, free: 14.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.7105, allocations: 0 / 0.5799 GB, free: 14.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001412/0.712, allocations: 0.5542 MB / 0.5805 GB, free: 13.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.712, allocations: 4 kB / 0.5805 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.712, allocations: 4 kB / 0.5805 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.078e-05/0.7121, allocations: 11.95 kB / 0.5805 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.7133, allocations: 179.7 kB / 0.5807 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.896e-05/0.7133, allocations: 4 kB / 0.5807 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005434/0.7139, allocations: 32.27 kB / 0.5807 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.989e-05/0.714, allocations: 28 kB / 0.5807 GB, free: 13.58 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 () * Number of clocked 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.0003461/0.7143, allocations: 181.6 kB / 0.5809 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.7145, allocations: 43.53 kB / 0.581 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001687/0.7147, allocations: 55.64 kB / 0.581 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/0.7147, allocations: 11.95 kB / 0.581 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/0.7147, allocations: 8.062 kB / 0.581 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.7147, allocations: 7.984 kB / 0.581 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003285/0.718, allocations: 1.436 MB / 0.5824 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.108e-06/0.7181, allocations: 0 / 0.5824 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/0.7195, allocations: 159.8 kB / 0.5826 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.837e-05/0.7195, allocations: 4 kB / 0.5826 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.4e-05/0.7196, allocations: 23.95 kB / 0.5826 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.679e-05/0.7196, allocations: 11.98 kB / 0.5826 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.003e-05/0.7196, allocations: 7.938 kB / 0.5826 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001966/0.7216, allocations: 1.038 MB / 0.5836 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002034/0.7219, allocations: 120.5 kB / 0.5838 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.722, allocations: 27.94 kB / 0.5838 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004818/0.7225, allocations: 19.98 kB / 0.5838 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.7226, allocations: 40.39 kB / 0.5838 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.166e-05/0.7227, allocations: 27.98 kB / 0.5839 GB, free: 10.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002795/0.723, allocations: 177.9 kB / 0.584 GB, free: 9.938 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.723, allocations: 0 / 0.584 GB, free: 9.938 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008707/0.7238, allocations: 151.9 kB / 0.5842 GB, free: 9.789 MB / 410.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 () * Number of clocked 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.00279/0.7267, allocations: 2.426 MB / 0.5866 GB, free: 7.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001256/0.728, allocations: 451.6 kB / 0.587 GB, free: 6.812 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.728, allocations: 0 / 0.587 GB, free: 6.812 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000549/0.7286, allocations: 234.2 kB / 0.5872 GB, free: 6.578 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.7297, allocations: 101 kB / 0.5873 GB, free: 6.484 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008978/0.7387, allocations: 5.17 MB / 0.5924 GB, free: 1.184 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00068/0.7394, allocations: 0.8605 MB / 0.5932 GB, free: 304 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004523/0.7399, allocations: 167.4 kB / 0.5934 GB, free: 136 kB / 410.7 MB Notification: Performance of SimCode: time 1.273e-06/0.7399, allocations: 0 / 0.5934 GB, free: 136 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.51/3.25, allocations: 7.745 MB / 0.6009 GB, free: 8.41 MB / 426.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