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.001086/0.001086, allocations: 183.9 kB / 13.19 MB, free: 2.129 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.462/1.462, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0007491/0.000749, allocations: 81.16 kB / 267 MB, free: 9.289 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.4016/0.4016, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.278e-05/3.282e-05, allocations: 0 / 425.3 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.118, allocations: 58.84 MB / 484.1 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4027/0.5208, allocations: 87.17 MB / 0.5579 GB, free: 16.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.5211, allocations: 69.02 kB / 0.558 GB, free: 16.81 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01994/0.541, allocations: 8.602 MB / 0.5664 GB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.541, allocations: 0 / 0.5664 GB, free: 11.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.466e-05/0.5411, allocations: 8 kB / 0.5664 GB, free: 11.31 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.0008007/0.5419, allocations: 0.6343 MB / 0.567 GB, free: 10.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.5419, allocations: 15.97 kB / 0.567 GB, free: 10.65 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.187e-05/0.542, allocations: 51.34 kB / 0.5671 GB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.5424, allocations: 295.6 kB / 0.5674 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/0.5424, allocations: 43.3 kB / 0.5674 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.597e-05/0.5425, allocations: 55.66 kB / 0.5675 GB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005827/0.5431, allocations: 417.7 kB / 0.5679 GB, free: 9.949 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.5431, allocations: 11.91 kB / 0.5679 GB, free: 9.938 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/0.5431, allocations: 23.95 kB / 0.5679 GB, free: 9.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.5432, allocations: 12 kB / 0.5679 GB, free: 9.918 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004186/0.5436, allocations: 300.2 kB / 0.5682 GB, free: 9.707 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.545, allocations: 1.161 MB / 0.5693 GB, free: 8.742 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005169/0.5455, allocations: 481.9 kB / 0.5698 GB, free: 8.344 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.5457, allocations: 195.2 kB / 0.57 GB, free: 8.215 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.5457, allocations: 4.438 kB / 0.57 GB, free: 8.211 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.5458, allocations: 50.58 kB / 0.57 GB, free: 8.156 MB / 394.7 MB Notification: Performance of pre-optimization done (n=62): time 1.453e-06/0.5458, allocations: 0 / 0.57 GB, free: 8.156 MB / 394.7 MB Notification: Performance of matching and sorting (n=74): time 0.00196/0.5477, allocations: 1.981 MB / 0.572 GB, free: 6.344 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.5478, allocations: 85.67 kB / 0.572 GB, free: 6.242 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.5479, allocations: 222.1 kB / 0.5723 GB, free: 6.059 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.548, allocations: 40.27 kB / 0.5723 GB, free: 6.023 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.408e-05/0.548, allocations: 208.9 kB / 0.5725 GB, free: 5.855 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.5482, allocations: 271 kB / 0.5728 GB, free: 5.625 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.749e-05/0.5482, allocations: 17.38 kB / 0.5728 GB, free: 5.617 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.268e-05/0.5483, allocations: 359.5 kB / 0.5731 GB, free: 5.277 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.5485, allocations: 149.8 kB / 0.5733 GB, free: 5.184 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/0.5487, allocations: 261.7 kB / 0.5735 GB, free: 4.957 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002448/0.549, allocations: 199.1 kB / 0.5737 GB, free: 4.824 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.549, allocations: 4 kB / 0.5737 GB, free: 4.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0005978/0.5496, allocations: 0.5481 MB / 0.5742 GB, free: 4.391 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.5496, allocations: 12.56 kB / 0.5742 GB, free: 4.379 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.5496, allocations: 0 / 0.5742 GB, free: 4.379 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.5496, allocations: 15.89 kB / 0.5743 GB, free: 4.363 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004837/0.5501, allocations: 179.2 kB / 0.5744 GB, free: 4.195 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.5501, allocations: 8 kB / 0.5744 GB, free: 4.188 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.5504, allocations: 30.22 kB / 0.5745 GB, free: 4.172 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.5504, allocations: 34.22 kB / 0.5745 GB, free: 4.145 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 () * 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 7.67e-05/0.5505, allocations: 140.1 kB / 0.5746 GB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-05/0.5506, allocations: 47.44 kB / 0.5747 GB, free: 3.977 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.5507, allocations: 52.83 kB / 0.5747 GB, free: 3.961 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.5507, allocations: 11.95 kB / 0.5747 GB, free: 3.949 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.5507, allocations: 0 / 0.5747 GB, free: 3.949 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.5507, allocations: 7.984 kB / 0.5747 GB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.552, allocations: 1.434 MB / 0.5761 GB, free: 2.664 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.5521, allocations: 4 kB / 0.5762 GB, free: 2.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005222/0.5526, allocations: 163.1 kB / 0.5763 GB, free: 2.504 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.5526, allocations: 8 kB / 0.5763 GB, free: 2.496 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/0.5526, allocations: 21.95 kB / 0.5763 GB, free: 2.484 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.5527, allocations: 4 kB / 0.5763 GB, free: 2.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.5527, allocations: 4 kB / 0.5763 GB, free: 2.477 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007985/0.5535, allocations: 1.037 MB / 0.5774 GB, free: 1.512 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.44e-05/0.5535, allocations: 116.2 kB / 0.5775 GB, free: 1.383 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.409e-05/0.5536, allocations: 26.25 kB / 0.5775 GB, free: 1.367 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.5538, allocations: 15.44 kB / 0.5775 GB, free: 1.359 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.384e-05/0.5539, allocations: 55.75 kB / 0.5776 GB, free: 1.312 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.5539, allocations: 19.56 kB / 0.5776 GB, free: 1.297 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001069/0.554, allocations: 171.9 kB / 0.5777 GB, free: 1.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5541, allocations: 4 kB / 0.5777 GB, free: 1.156 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000408/0.5545, allocations: 145.2 kB / 0.5779 GB, free: 1.035 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.0001164/0.5546, allocations: 122 kB / 0.578 GB, free: 0.918 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004914/0.5551, allocations: 444.4 kB / 0.5784 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5551, allocations: 0 / 0.5784 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000225/0.5553, allocations: 230.2 kB / 0.5786 GB, free: 428 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005748/0.5559, allocations: 109.2 kB / 0.5787 GB, free: 344 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.558, allocations: 1.561 MB / 0.5803 GB, free: 14.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.5585, allocations: 0.8566 MB / 0.5811 GB, free: 13.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001934/0.5587, allocations: 60.66 kB / 0.5812 GB, free: 13.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.691e-05/0.5588, allocations: 43.44 kB / 0.5812 GB, free: 13.83 MB / 410.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5588, allocations: 0 / 0.5812 GB, free: 13.83 MB / 410.7 MB Notification: Performance of Templates: time 0.008901/0.5677, allocations: 4.808 MB / 0.5859 GB, free: 9.086 MB / 410.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