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.001502/0.001502, allocations: 181.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.065/2.065, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001112/0.001112, allocations: 94.61 kB / 267.5 MB, free: 14.11 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.2867/0.2867, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.885e-05/3.91e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1386, allocations: 58.86 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4958/0.6344, allocations: 87.17 MB / 0.5579 GB, free: 0.4922 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/0.6347, allocations: 66.78 kB / 0.558 GB, free: 468 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03573/0.6705, allocations: 8.6 MB / 0.5664 GB, free: 9.332 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.6706, allocations: 3.938 kB / 0.5664 GB, free: 9.328 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.012e-05/0.6706, allocations: 12 kB / 0.5664 GB, free: 9.316 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.001322/0.6719, allocations: 0.6307 MB / 0.567 GB, free: 8.664 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.672, allocations: 8.031 kB / 0.567 GB, free: 8.656 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.6721, allocations: 59.34 kB / 0.5671 GB, free: 8.598 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004754/0.6726, allocations: 292.1 kB / 0.5674 GB, free: 8.297 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.926e-05/0.6727, allocations: 35.81 kB / 0.5674 GB, free: 8.277 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.6728, allocations: 54.41 kB / 0.5674 GB, free: 8.242 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009973/0.6738, allocations: 414.4 kB / 0.5678 GB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.787e-05/0.6739, allocations: 15.22 kB / 0.5679 GB, free: 7.941 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.388e-05/0.6739, allocations: 22.08 kB / 0.5679 GB, free: 7.934 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.6739, allocations: 12 kB / 0.5679 GB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007877/0.6747, allocations: 299.6 kB / 0.5682 GB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002498/0.6773, allocations: 1.166 MB / 0.5693 GB, free: 6.742 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.6783, allocations: 479.4 kB / 0.5698 GB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004563/0.6788, allocations: 203.4 kB / 0.57 GB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.336e-05/0.6789, allocations: 12.42 kB / 0.57 GB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.6789, allocations: 34.94 kB / 0.57 GB, free: 6.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 3.527e-06/0.6789, allocations: 0 / 0.57 GB, free: 6.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.004097/0.683, allocations: 1.99 MB / 0.5719 GB, free: 4.332 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.6831, allocations: 85.67 kB / 0.572 GB, free: 4.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/0.6834, allocations: 225.4 kB / 0.5722 GB, free: 4.043 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.713e-05/0.6835, allocations: 39.14 kB / 0.5723 GB, free: 4.008 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.6837, allocations: 261.1 kB / 0.5725 GB, free: 3.781 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/0.684, allocations: 275.5 kB / 0.5728 GB, free: 3.547 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.684, allocations: 24.38 kB / 0.5728 GB, free: 3.535 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.6842, allocations: 335.6 kB / 0.5731 GB, free: 3.211 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003945/0.6846, allocations: 148.9 kB / 0.5733 GB, free: 3.117 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005363/0.6851, allocations: 270.4 kB / 0.5735 GB, free: 2.883 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004997/0.6856, allocations: 191.2 kB / 0.5737 GB, free: 2.758 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/0.6857, allocations: 4 kB / 0.5737 GB, free: 2.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001248/0.6869, allocations: 0.5296 MB / 0.5742 GB, free: 2.344 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.687, allocations: 15.47 kB / 0.5743 GB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.687, allocations: 0 / 0.5743 GB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/0.687, allocations: 19.83 kB / 0.5743 GB, free: 2.312 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.6882, allocations: 171.4 kB / 0.5744 GB, free: 2.148 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.427e-05/0.6882, allocations: 11.98 kB / 0.5745 GB, free: 2.137 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004419/0.6886, allocations: 21.06 kB / 0.5745 GB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.757e-05/0.6887, allocations: 26.75 kB / 0.5745 GB, free: 2.109 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.0001556/0.6889, allocations: 145.9 kB / 0.5746 GB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.689, allocations: 47.44 kB / 0.5747 GB, free: 1.934 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.6892, allocations: 54.89 kB / 0.5747 GB, free: 1.918 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.6892, allocations: 11.95 kB / 0.5747 GB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.6892, allocations: 4 kB / 0.5747 GB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.6892, allocations: 3.984 kB / 0.5748 GB, free: 1.898 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002863/0.6921, allocations: 1.422 MB / 0.5761 GB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.6921, allocations: 4 kB / 0.5761 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/0.6934, allocations: 166.6 kB / 0.5763 GB, free: 476 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-05/0.6934, allocations: 12.34 kB / 0.5763 GB, free: 464 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.088e-05/0.6935, allocations: 22.2 kB / 0.5763 GB, free: 452 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.1e-05/0.6935, allocations: 7.984 kB / 0.5763 GB, free: 444 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.6935, allocations: 4 kB / 0.5763 GB, free: 440 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.6953, allocations: 1.041 MB / 0.5774 GB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.6954, allocations: 112.5 kB / 0.5775 GB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.835e-05/0.6955, allocations: 24.64 kB / 0.5775 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004479/0.696, allocations: 25.42 kB / 0.5775 GB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.6961, allocations: 45.89 kB / 0.5776 GB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.571e-05/0.6962, allocations: 23.3 kB / 0.5776 GB, free: 15.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002238/0.6964, allocations: 178.8 kB / 0.5778 GB, free: 15.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6964, allocations: 0 / 0.5778 GB, free: 15.11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007118/0.6971, allocations: 144.6 kB / 0.5779 GB, free: 14.98 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.0001755/0.6973, allocations: 117.8 kB / 0.578 GB, free: 14.87 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.6983, allocations: 445.5 kB / 0.5784 GB, free: 14.54 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.6984, allocations: 4.062 kB / 0.5784 GB, free: 14.54 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004848/0.6989, allocations: 228.2 kB / 0.5787 GB, free: 14.37 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009474/0.6998, allocations: 110.2 kB / 0.5788 GB, free: 14.29 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003559/0.7034, allocations: 1.588 MB / 0.5803 GB, free: 12.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005461/0.704, allocations: 0.8605 MB / 0.5811 GB, free: 11.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.7042, allocations: 47.42 kB / 0.5812 GB, free: 11.8 MB / 394.7 MB Notification: Performance of SimCode: time 7.22e-07/0.7042, allocations: 0 / 0.5812 GB, free: 11.8 MB / 394.7 MB Notification: Performance of Templates: time 0.01293/0.7171, allocations: 5.731 MB / 0.5868 GB, free: 6.141 MB / 394.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