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.001122/0.001122, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008284/0.0008284, allocations: 86.58 kB / 261.7 MB, free: 1.691 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.3139/0.3139, allocations: 43.5 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.81e-05/1.812e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1359, allocations: 58.85 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4687/0.6046, allocations: 86.5 MB / 0.5504 GB, free: 8.375 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.6049, allocations: 77.64 kB / 0.5505 GB, free: 8.336 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0192/0.6241, allocations: 8.529 MB / 0.5588 GB, free: 1.719 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.083e-06/0.6242, allocations: 0 / 0.5588 GB, free: 1.719 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.815e-05/0.6242, allocations: 12 kB / 0.5588 GB, free: 1.707 MB / 362.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.0007571/0.625, allocations: 0.6336 MB / 0.5594 GB, free: 1.062 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.625, allocations: 8.031 kB / 0.5594 GB, free: 1.055 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.477e-05/0.6251, allocations: 55.34 kB / 0.5595 GB, free: 1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003066/0.6254, allocations: 291.5 kB / 0.5598 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.6255, allocations: 16 kB / 0.5598 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-05/0.6255, allocations: 35.78 kB / 0.5598 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000411/0.6259, allocations: 273.5 kB / 0.5601 GB, free: 480 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00047/0.6264, allocations: 363.6 kB / 0.5604 GB, free: 192 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/0.6265, allocations: 15.8 kB / 0.5604 GB, free: 180 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.6265, allocations: 0 / 0.5604 GB, free: 180 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.6265, allocations: 12 kB / 0.5605 GB, free: 168 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.628, allocations: 1.069 MB / 0.5615 GB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006087/0.6286, allocations: 440.8 kB / 0.5619 GB, free: 14.92 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/0.6289, allocations: 187.8 kB / 0.5621 GB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.6289, allocations: 8.438 kB / 0.5621 GB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.6289, allocations: 34.88 kB / 0.5621 GB, free: 14.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 1.673e-06/0.629, allocations: 7.938 kB / 0.5621 GB, free: 14.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.002378/0.6313, allocations: 1.819 MB / 0.5639 GB, free: 13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.6314, allocations: 85.67 kB / 0.564 GB, free: 12.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.6316, allocations: 191.2 kB / 0.5642 GB, free: 12.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.6316, allocations: 29.7 kB / 0.5642 GB, free: 12.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.6318, allocations: 213.9 kB / 0.5644 GB, free: 12.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/0.6319, allocations: 260.8 kB / 0.5647 GB, free: 12.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.589e-05/0.632, allocations: 0 / 0.5647 GB, free: 12.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.6321, allocations: 355.2 kB / 0.565 GB, free: 11.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.6323, allocations: 133.1 kB / 0.5651 GB, free: 11.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002749/0.6326, allocations: 244.1 kB / 0.5654 GB, free: 11.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002581/0.6329, allocations: 181.9 kB / 0.5655 GB, free: 11.56 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.6329, allocations: 0 / 0.5655 GB, free: 11.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0006416/0.6335, allocations: 496.3 kB / 0.566 GB, free: 11.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.6335, allocations: 4 kB / 0.566 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.6336, allocations: 4 kB / 0.566 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.6336, allocations: 8.281 kB / 0.566 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005474/0.6341, allocations: 185.5 kB / 0.5662 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.6342, allocations: 8 kB / 0.5662 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.6344, allocations: 7.984 kB / 0.5662 GB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.686e-05/0.6344, allocations: 27.25 kB / 0.5662 GB, free: 10.95 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.0001063/0.6345, allocations: 120.7 kB / 0.5664 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.958e-05/0.6346, allocations: 39.53 kB / 0.5664 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.6347, allocations: 47.86 kB / 0.5664 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.6348, allocations: 16 kB / 0.5665 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.6348, allocations: 3.953 kB / 0.5665 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/0.6348, allocations: 3.984 kB / 0.5665 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/0.6364, allocations: 1.306 MB / 0.5677 GB, free: 9.578 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.6364, allocations: 4 kB / 0.5677 GB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005939/0.637, allocations: 158.7 kB / 0.5679 GB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.457e-05/0.637, allocations: 8 kB / 0.5679 GB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.6371, allocations: 4 kB / 0.5679 GB, free: 9.414 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.6371, allocations: 8.281 kB / 0.5679 GB, free: 9.406 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.6371, allocations: 11.95 kB / 0.5679 GB, free: 9.395 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009769/0.6381, allocations: 0.9872 MB / 0.5689 GB, free: 8.465 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.19e-05/0.6382, allocations: 112.5 kB / 0.569 GB, free: 8.336 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.923e-05/0.6382, allocations: 7.984 kB / 0.569 GB, free: 8.328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.6385, allocations: 12 kB / 0.569 GB, free: 8.316 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.712e-05/0.6385, allocations: 50.95 kB / 0.5691 GB, free: 8.273 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.068e-05/0.6386, allocations: 19.31 kB / 0.5691 GB, free: 8.258 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001234/0.6387, allocations: 155.1 kB / 0.5692 GB, free: 8.133 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6387, allocations: 0 / 0.5692 GB, free: 8.133 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004553/0.6392, allocations: 124.1 kB / 0.5694 GB, free: 8.012 MB / 378.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.0001372/0.6393, allocations: 107.1 kB / 0.5695 GB, free: 7.898 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005341/0.6398, allocations: 398 kB / 0.5698 GB, free: 7.609 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6399, allocations: 0 / 0.5698 GB, free: 7.609 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002449/0.6401, allocations: 212.9 kB / 0.57 GB, free: 7.457 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006312/0.6407, allocations: 96.48 kB / 0.5701 GB, free: 7.379 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00236/0.6431, allocations: 1.51 MB / 0.5716 GB, free: 5.891 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005601/0.6437, allocations: 0.8605 MB / 0.5724 GB, free: 5.004 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002417/0.6439, allocations: 56.58 kB / 0.5725 GB, free: 4.949 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.889e-05/0.644, allocations: 43.44 kB / 0.5725 GB, free: 4.906 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.6441, allocations: 0 / 0.5725 GB, free: 4.906 MB / 378.7 MB Notification: Performance of Templates: time 0.008717/0.6528, allocations: 4.58 MB / 0.577 GB, free: 388 kB / 378.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