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: translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001523/0.001522, allocations: 186.6 kB / 16.41 MB, free: 5.727 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.926/1.926, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001123/0.001122, allocations: 84.5 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.512/0.512, allocations: 43.55 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004729/0.0004729, allocations: 12 kB / 431.4 MB, free: 5.938 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1202, allocations: 58.85 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4475/0.5678, allocations: 87.26 MB / 0.5639 GB, free: 15.29 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/0.5681, allocations: 67.95 kB / 0.564 GB, free: 15.22 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03811/0.6062, allocations: 8.606 MB / 0.5724 GB, free: 6.633 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.6063, allocations: 0 / 0.5724 GB, free: 6.633 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.121e-05/0.6063, allocations: 12 kB / 0.5724 GB, free: 6.621 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.001544/0.6079, allocations: 0.6622 MB / 0.5731 GB, free: 5.914 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.608, allocations: 8.031 kB / 0.5731 GB, free: 5.906 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.6081, allocations: 59.34 kB / 0.5731 GB, free: 5.848 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005007/0.6086, allocations: 289.3 kB / 0.5734 GB, free: 5.527 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.638e-05/0.6087, allocations: 44.94 kB / 0.5734 GB, free: 5.484 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.6088, allocations: 56.94 kB / 0.5735 GB, free: 5.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.61, allocations: 430.5 kB / 0.5739 GB, free: 4.992 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.325e-05/0.61, allocations: 7.906 kB / 0.5739 GB, free: 4.984 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.844e-05/0.6101, allocations: 23.95 kB / 0.5739 GB, free: 4.961 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/0.6101, allocations: 12 kB / 0.574 GB, free: 4.949 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008374/0.611, allocations: 312.3 kB / 0.5743 GB, free: 4.648 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002926/0.6139, allocations: 1.169 MB / 0.5754 GB, free: 3.426 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.6151, allocations: 481.1 kB / 0.5759 GB, free: 2.914 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.475e-05/0.6152, allocations: 8.469 kB / 0.5759 GB, free: 2.906 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.6152, allocations: 39 kB / 0.5759 GB, free: 2.859 MB / 394.7 MB Notification: Performance of pre-optimization done (n=62): time 4.268e-06/0.6152, allocations: 0 / 0.5759 GB, free: 2.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=74): time 0.004696/0.6199, allocations: 2.129 MB / 0.578 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.143e-05/0.6201, allocations: 93.59 kB / 0.5781 GB, free: 472 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003435/0.6204, allocations: 218.1 kB / 0.5783 GB, free: 244 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.112e-05/0.6205, allocations: 33.7 kB / 0.5783 GB, free: 204 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.6207, allocations: 271.6 kB / 0.5786 GB, free: 15.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002764/0.621, allocations: 272 kB / 0.5788 GB, free: 15.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.621, allocations: 12 kB / 0.5788 GB, free: 15.65 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.6212, allocations: 342.8 kB / 0.5792 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004335/0.6217, allocations: 157.9 kB / 0.5793 GB, free: 15.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005427/0.6222, allocations: 268.8 kB / 0.5796 GB, free: 14.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005335/0.6228, allocations: 199.2 kB / 0.5798 GB, free: 14.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.6228, allocations: 4 kB / 0.5798 GB, free: 14.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001344/0.6241, allocations: 0.5437 MB / 0.5803 GB, free: 14.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.6242, allocations: 7.938 kB / 0.5803 GB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.6242, allocations: 4.047 kB / 0.5803 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.853e-05/0.6242, allocations: 15.77 kB / 0.5803 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.6254, allocations: 179.7 kB / 0.5805 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.911e-05/0.6255, allocations: 8.281 kB / 0.5805 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004887/0.626, allocations: 28 kB / 0.5805 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.165e-05/0.626, allocations: 24 kB / 0.5806 GB, free: 13.85 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.0003157/0.6263, allocations: 181.6 kB / 0.5807 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.6265, allocations: 47.47 kB / 0.5808 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00017/0.6267, allocations: 55.64 kB / 0.5808 GB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.6267, allocations: 11.95 kB / 0.5808 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.078e-06/0.6267, allocations: 4 kB / 0.5808 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.6267, allocations: 3.984 kB / 0.5808 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003066/0.6298, allocations: 1.434 MB / 0.5822 GB, free: 12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/0.6299, allocations: 4 kB / 0.5822 GB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/0.6312, allocations: 159.8 kB / 0.5824 GB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.697e-05/0.6312, allocations: 8 kB / 0.5824 GB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.019e-05/0.6313, allocations: 19.95 kB / 0.5824 GB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-05/0.6313, allocations: 4 kB / 0.5824 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/0.6313, allocations: 7.938 kB / 0.5824 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/0.6332, allocations: 1.053 MB / 0.5835 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/0.6334, allocations: 112.5 kB / 0.5836 GB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.6336, allocations: 27.94 kB / 0.5836 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004767/0.634, allocations: 20 kB / 0.5836 GB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.6342, allocations: 48.38 kB / 0.5837 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.684e-05/0.6342, allocations: 20 kB / 0.5837 GB, free: 10.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002614/0.6345, allocations: 178 kB / 0.5839 GB, free: 10.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.324e-06/0.6345, allocations: 0 / 0.5839 GB, free: 10.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007536/0.6353, allocations: 151.9 kB / 0.584 GB, free: 10.06 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.0002343/0.6355, allocations: 123.1 kB / 0.5841 GB, free: 9.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.6367, allocations: 443.6 kB / 0.5845 GB, free: 9.496 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.6367, allocations: 0 / 0.5845 GB, free: 9.496 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005084/0.6372, allocations: 227.1 kB / 0.5848 GB, free: 9.273 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.6383, allocations: 119.8 kB / 0.5849 GB, free: 9.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004484/0.6428, allocations: 2.065 MB / 0.5869 GB, free: 7.035 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006141/0.6435, allocations: 0.8566 MB / 0.5877 GB, free: 6.148 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000245/0.6437, allocations: 47.44 kB / 0.5878 GB, free: 6.102 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6437, allocations: 0 / 0.5878 GB, free: 6.102 MB / 410.7 MB Notification: Performance of Templates: time 0.01428/0.658, allocations: 5.743 MB / 0.5934 GB, free: 392 kB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (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 & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches