Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001645/0.001645, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.771/1.771, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008554/0.0008554, allocations: 90.88 kB / 270.2 MB, free: 13.37 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.2114/0.2114, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003526, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1312, allocations: 58.86 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4515/0.5828, allocations: 87.27 MB / 0.564 GB, free: 12.54 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/0.583, allocations: 67.59 kB / 0.564 GB, free: 12.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02324/0.6063, allocations: 8.598 MB / 0.5724 GB, free: 5.387 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.6063, allocations: 0 / 0.5724 GB, free: 5.387 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.201e-05/0.6064, allocations: 16 kB / 0.5725 GB, free: 5.371 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.0009652/0.6073, allocations: 0.6605 MB / 0.5731 GB, free: 4.688 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.6074, allocations: 12.03 kB / 0.5731 GB, free: 4.676 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.631e-05/0.6075, allocations: 59.34 kB / 0.5732 GB, free: 4.617 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.6078, allocations: 292.7 kB / 0.5734 GB, free: 4.316 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.6079, allocations: 30.06 kB / 0.5735 GB, free: 4.301 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-05/0.6079, allocations: 59.91 kB / 0.5735 GB, free: 4.262 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006415/0.6086, allocations: 429.7 kB / 0.5739 GB, free: 3.953 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/0.6086, allocations: 11.41 kB / 0.5739 GB, free: 3.945 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.682e-05/0.6087, allocations: 21.27 kB / 0.574 GB, free: 3.938 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/0.6087, allocations: 15.98 kB / 0.574 GB, free: 3.922 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004755/0.6092, allocations: 312.6 kB / 0.5743 GB, free: 3.703 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/0.6108, allocations: 1.162 MB / 0.5754 GB, free: 2.738 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000654/0.6114, allocations: 487.8 kB / 0.5759 GB, free: 2.332 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.6115, allocations: 4.438 kB / 0.5759 GB, free: 2.328 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.6115, allocations: 38.75 kB / 0.5759 GB, free: 2.285 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 2.154e-06/0.6115, allocations: 0 / 0.5759 GB, free: 2.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.002808/0.6143, allocations: 2.135 MB / 0.578 GB, free: 432 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.6144, allocations: 89.61 kB / 0.5781 GB, free: 324 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.6146, allocations: 224.1 kB / 0.5783 GB, free: 124 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.6147, allocations: 41.33 kB / 0.5783 GB, free: 84 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.6148, allocations: 206 kB / 0.5785 GB, free: 15.91 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/0.615, allocations: 270 kB / 0.5788 GB, free: 15.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/0.615, allocations: 15.5 kB / 0.5788 GB, free: 15.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.6152, allocations: 357.6 kB / 0.5792 GB, free: 15.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/0.6154, allocations: 151.6 kB / 0.5793 GB, free: 15.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003048/0.6158, allocations: 273.9 kB / 0.5796 GB, free: 15.01 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/0.616, allocations: 200 kB / 0.5798 GB, free: 14.9 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.616, allocations: 4 kB / 0.5798 GB, free: 14.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007976/0.6169, allocations: 0.5537 MB / 0.5803 GB, free: 14.49 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.6169, allocations: 10.66 kB / 0.5803 GB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.6169, allocations: 4 kB / 0.5803 GB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.6169, allocations: 8.234 kB / 0.5803 GB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005849/0.6175, allocations: 179.6 kB / 0.5805 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.6175, allocations: 11.94 kB / 0.5805 GB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.6178, allocations: 27.36 kB / 0.5805 GB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.6178, allocations: 23.69 kB / 0.5806 GB, free: 14.25 MB / 394.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.0002377/0.6181, allocations: 175.8 kB / 0.5807 GB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.713e-05/0.6182, allocations: 43.44 kB / 0.5808 GB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.6183, allocations: 62.89 kB / 0.5808 GB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.6183, allocations: 11.94 kB / 0.5808 GB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.535e-05/0.6184, allocations: 3.953 kB / 0.5808 GB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.6184, allocations: 7.922 kB / 0.5808 GB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/0.6205, allocations: 1.436 MB / 0.5822 GB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.6206, allocations: 4 kB / 0.5823 GB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006158/0.6212, allocations: 162.7 kB / 0.5824 GB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/0.6212, allocations: 4 kB / 0.5824 GB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.579e-05/0.6212, allocations: 23.08 kB / 0.5824 GB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.6213, allocations: 4.406 kB / 0.5824 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.688e-06/0.6213, allocations: 15.94 kB / 0.5825 GB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.6225, allocations: 1.045 MB / 0.5835 GB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.6226, allocations: 116.6 kB / 0.5836 GB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.596e-05/0.6227, allocations: 22.95 kB / 0.5836 GB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.6229, allocations: 22.44 kB / 0.5836 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.629e-05/0.623, allocations: 44.25 kB / 0.5837 GB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.623, allocations: 27.62 kB / 0.5837 GB, free: 11.39 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001785/0.6232, allocations: 174.6 kB / 0.5839 GB, free: 11.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6232, allocations: 0 / 0.5839 GB, free: 11.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005467/0.6238, allocations: 153.5 kB / 0.584 GB, free: 11.12 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 () * 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.0001662/0.624, allocations: 123.7 kB / 0.5841 GB, free: 11 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007173/0.6247, allocations: 447.4 kB / 0.5846 GB, free: 10.67 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.6247, allocations: 0 / 0.5846 GB, free: 10.67 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002859/0.625, allocations: 241.5 kB / 0.5848 GB, free: 10.49 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006685/0.6257, allocations: 97.27 kB / 0.5849 GB, free: 10.42 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002939/0.6286, allocations: 2.033 MB / 0.5869 GB, free: 8.422 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.6291, allocations: 0.8566 MB / 0.5877 GB, free: 7.535 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002046/0.6293, allocations: 60.66 kB / 0.5878 GB, free: 7.477 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.6294, allocations: 39.44 kB / 0.5878 GB, free: 7.438 MB / 394.7 MB Notification: Performance of SimCode: time 7.42e-07/0.6294, allocations: 0 / 0.5878 GB, free: 7.438 MB / 394.7 MB Notification: Performance of Templates: time 0.009507/0.6389, allocations: 4.799 MB / 0.5925 GB, free: 2.68 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/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_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches