Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 102 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002076/0.002076, allocations: 185.2 kB / 24.51 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 225.6 MB / 253.3 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2389/0.2389, allocations: 44.9 MB / 353.5 MB, free: 11.85 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 63.91 kB / 497.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4168/0.4188, allocations: 64.28 MB / 0.5488 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.005277/0.4241, allocations: 3.303 MB / 0.552 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.4264, allocations: 0.8229 MB / 0.5528 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004407/0.4268, allocations: 10.75 kB / 0.5528 GB, free: 9.875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003523/0.4272, allocations: 74.39 kB / 0.5529 GB, free: 9.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006727/0.4278, allocations: 179 kB / 0.5531 GB, free: 9.652 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000461/0.4283, allocations: 106.5 kB / 0.5532 GB, free: 9.559 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008691/0.4292, allocations: 0.5919 MB / 0.5538 GB, free: 9.199 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003097/0.4295, allocations: 127.1 kB / 0.5539 GB, free: 9.113 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003499/0.4298, allocations: 232.5 kB / 0.5541 GB, free: 8.988 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003639/0.4302, allocations: 245.4 kB / 0.5543 GB, free: 8.824 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.126e-05/0.4303, allocations: 41.81 kB / 0.5544 GB, free: 8.824 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.4304, allocations: 45.25 kB / 0.5544 GB, free: 8.824 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.4305, allocations: 101.3 kB / 0.5545 GB, free: 8.738 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003495/0.4308, allocations: 262.9 kB / 0.5548 GB, free: 8.574 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007471/0.4316, allocations: 0.5739 MB / 0.5553 GB, free: 8.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4316, allocations: 0 / 0.5553 GB, free: 8.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4316, allocations: 0 / 0.5553 GB, free: 8.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.4316, allocations: 0 / 0.5553 GB, free: 8.16 MB / 398.1 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.001303/0.4329, allocations: 0.6887 MB / 0.556 GB, free: 7.605 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.433, allocations: 9.797 kB / 0.556 GB, free: 7.605 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.4331, allocations: 56.86 kB / 0.5561 GB, free: 7.578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005395/0.4336, allocations: 258.1 kB / 0.5563 GB, free: 7.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.541e-05/0.4337, allocations: 31.84 kB / 0.5563 GB, free: 7.328 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.4338, allocations: 57.33 kB / 0.5564 GB, free: 7.305 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008769/0.4346, allocations: 439.9 kB / 0.5568 GB, free: 7.035 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.983e-05/0.4347, allocations: 19.8 kB / 0.5568 GB, free: 7.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.761e-05/0.4347, allocations: 20.28 kB / 0.5569 GB, free: 7.004 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.4347, allocations: 11.16 kB / 0.5569 GB, free: 7.004 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005968/0.4353, allocations: 313.9 kB / 0.5572 GB, free: 6.828 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.4373, allocations: 1.1 MB / 0.5582 GB, free: 5.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007564/0.438, allocations: 391.9 kB / 0.5586 GB, free: 5.273 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003077/0.4383, allocations: 191 kB / 0.5588 GB, free: 5.082 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.4383, allocations: 8.438 kB / 0.5588 GB, free: 5.074 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.4384, allocations: 43.02 kB / 0.5588 GB, free: 5.023 MB / 398.1 MB Notification: Performance of pre-optimization done (n=62): time 2.364e-06/0.4384, allocations: 0 / 0.5588 GB, free: 5.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.003263/0.4416, allocations: 1.852 MB / 0.5606 GB, free: 3.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.618e-05/0.4417, allocations: 85.61 kB / 0.5607 GB, free: 2.969 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.442, allocations: 252.2 kB / 0.561 GB, free: 2.715 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.442, allocations: 37.7 kB / 0.561 GB, free: 2.672 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.4422, allocations: 217.3 kB / 0.5612 GB, free: 2.457 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002454/0.4424, allocations: 289.5 kB / 0.5615 GB, free: 2.172 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002354/0.4427, allocations: 118.7 kB / 0.5616 GB, free: 2.051 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.4429, allocations: 362.7 kB / 0.562 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002816/0.4431, allocations: 153.9 kB / 0.5621 GB, free: 1.535 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004241/0.4436, allocations: 276.9 kB / 0.5624 GB, free: 1.227 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007277/0.4443, allocations: 471.7 kB / 0.5628 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.4443, allocations: 4 kB / 0.5628 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009795/0.4453, allocations: 0.571 MB / 0.5634 GB, free: 152 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.4453, allocations: 4 kB / 0.5634 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.4453, allocations: 4.281 kB / 0.5634 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.045e-05/0.4453, allocations: 12 kB / 0.5634 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008922/0.4462, allocations: 179.9 kB / 0.5636 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-05/0.4463, allocations: 7.938 kB / 0.5636 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003327/0.4466, allocations: 27.98 kB / 0.5636 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.311e-05/0.4466, allocations: 23.94 kB / 0.5636 GB, free: 15.89 MB / 414.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002778/0.4469, allocations: 177.7 kB / 0.5638 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.4471, allocations: 51.72 kB / 0.5638 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.4472, allocations: 59.58 kB / 0.5639 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/0.4472, allocations: 11.94 kB / 0.5639 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/0.4473, allocations: 4 kB / 0.5639 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.4473, allocations: 3.984 kB / 0.5639 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003039/0.4503, allocations: 1.404 MB / 0.5653 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.4503, allocations: 4.344 kB / 0.5653 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009868/0.4513, allocations: 155.8 kB / 0.5654 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.98e-05/0.4513, allocations: 11.98 kB / 0.5654 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.975e-05/0.4514, allocations: 23.94 kB / 0.5655 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.159e-05/0.4514, allocations: 4 kB / 0.5655 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/0.4514, allocations: 7.938 kB / 0.5655 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.4532, allocations: 0.9051 MB / 0.5664 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001998/0.4534, allocations: 47.7 kB / 0.5664 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.4535, allocations: 19.94 kB / 0.5664 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005439/0.4541, allocations: 27.92 kB / 0.5665 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.4542, allocations: 40.36 kB / 0.5665 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.732e-05/0.4543, allocations: 20 kB / 0.5665 GB, free: 12.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000308/0.4546, allocations: 195 kB / 0.5667 GB, free: 12.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4546, allocations: 0 / 0.5667 GB, free: 12.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001095/0.4557, allocations: 144 kB / 0.5668 GB, free: 12.44 MB / 414.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002471/0.4559, allocations: 123.6 kB / 0.567 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001238/0.4572, allocations: 436.2 kB / 0.5674 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4572, allocations: 4 kB / 0.5674 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005089/0.4577, allocations: 222.2 kB / 0.5676 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.4592, allocations: 122.3 kB / 0.5677 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004653/0.4639, allocations: 1.68 MB / 0.5693 GB, free: 9.797 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000752/0.4646, allocations: 0.8445 MB / 0.5702 GB, free: 8.926 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003805/0.465, allocations: 60.66 kB / 0.5702 GB, free: 8.863 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.4652, allocations: 39.44 kB / 0.5703 GB, free: 8.824 MB / 414.1 MB Notification: Performance of SimCode: time 1.833e-06/0.4652, allocations: 0 / 0.5703 GB, free: 8.824 MB / 414.1 MB Notification: Performance of Templates: time 0.02163/0.4868, allocations: 5.854 MB / 0.576 GB, free: 3.031 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.68968974519521]