Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 214.1 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.545/1.545, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2409/0.2409, allocations: 46.92 MB / 360.8 MB, free: 4.273 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 67.91 kB / 0.4966 GB, free: 7.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4049, allocations: 66.03 MB / 0.5611 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004897/0.4098, allocations: 3.319 MB / 0.5644 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.4116, allocations: 0.8489 MB / 0.5652 GB, free: 236 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001985/0.4118, allocations: 11.94 kB / 0.5652 GB, free: 224 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000219/0.412, allocations: 71.17 kB / 0.5653 GB, free: 152 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003502/0.4124, allocations: 174.5 kB / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.4126, allocations: 111.8 kB / 0.5655 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006452/0.4133, allocations: 0.5985 MB / 0.5661 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002841/0.4136, allocations: 121.8 kB / 0.5662 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000282/0.4138, allocations: 231.3 kB / 0.5665 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003501/0.4142, allocations: 242.9 kB / 0.5667 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.252e-05/0.4143, allocations: 44 kB / 0.5667 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.679e-05/0.4143, allocations: 44 kB / 0.5668 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.4144, allocations: 103.6 kB / 0.5669 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002683/0.4147, allocations: 270.7 kB / 0.5671 GB, free: 14.22 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000638/0.4153, allocations: 0.5588 MB / 0.5677 GB, free: 13.67 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4153, allocations: 0 / 0.5677 GB, free: 13.67 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4153, allocations: 0 / 0.5677 GB, free: 13.67 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.4154, allocations: 0 / 0.5677 GB, free: 13.67 MB / 414.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.001143/0.4165, allocations: 0.6999 MB / 0.5684 GB, free: 12.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.4165, allocations: 8.031 kB / 0.5684 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.227e-05/0.4166, allocations: 56.61 kB / 0.5684 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004797/0.4171, allocations: 264.6 kB / 0.5687 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/0.4171, allocations: 41.38 kB / 0.5687 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-05/0.4172, allocations: 56.31 kB / 0.5688 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007692/0.418, allocations: 438.9 kB / 0.5692 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.58e-05/0.418, allocations: 11.94 kB / 0.5692 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.403e-05/0.4181, allocations: 16 kB / 0.5692 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.4181, allocations: 12 kB / 0.5692 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005212/0.4186, allocations: 312.5 kB / 0.5695 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.4204, allocations: 1.111 MB / 0.5706 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007378/0.4211, allocations: 380 kB / 0.571 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/0.4214, allocations: 198.9 kB / 0.5712 GB, free: 9.949 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.4215, allocations: 8.438 kB / 0.5712 GB, free: 9.941 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.4215, allocations: 39 kB / 0.5712 GB, free: 9.895 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 1.994e-06/0.4215, allocations: 0 / 0.5712 GB, free: 9.895 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.00309/0.4246, allocations: 1.838 MB / 0.573 GB, free: 7.965 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.05e-05/0.4247, allocations: 97.48 kB / 0.5731 GB, free: 7.848 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/0.425, allocations: 256.2 kB / 0.5733 GB, free: 7.586 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.53e-05/0.425, allocations: 37.7 kB / 0.5734 GB, free: 7.543 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.4252, allocations: 213.4 kB / 0.5736 GB, free: 7.332 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000223/0.4254, allocations: 281.5 kB / 0.5738 GB, free: 7.055 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.4256, allocations: 122.6 kB / 0.574 GB, free: 6.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.4258, allocations: 362.7 kB / 0.5743 GB, free: 6.566 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002692/0.426, allocations: 153.9 kB / 0.5744 GB, free: 6.414 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003639/0.4264, allocations: 272.9 kB / 0.5747 GB, free: 6.113 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006609/0.4271, allocations: 474.7 kB / 0.5752 GB, free: 5.617 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4271, allocations: 0 / 0.5752 GB, free: 5.617 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008776/0.4279, allocations: 0.575 MB / 0.5757 GB, free: 5.035 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.428, allocations: 8 kB / 0.5757 GB, free: 5.027 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.428, allocations: 0 / 0.5757 GB, free: 5.027 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.428, allocations: 8 kB / 0.5757 GB, free: 5.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000581/0.4286, allocations: 179.7 kB / 0.5759 GB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.169e-05/0.4286, allocations: 11.98 kB / 0.5759 GB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.4288, allocations: 20.28 kB / 0.5759 GB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.234e-05/0.4289, allocations: 35.94 kB / 0.576 GB, free: 4.777 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.0002179/0.4291, allocations: 178.1 kB / 0.5761 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.74e-05/0.4292, allocations: 47.72 kB / 0.5762 GB, free: 4.547 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.4293, allocations: 59.64 kB / 0.5762 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.4293, allocations: 8 kB / 0.5763 GB, free: 4.477 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.4293, allocations: 0 / 0.5763 GB, free: 4.477 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.4294, allocations: 3.984 kB / 0.5763 GB, free: 4.473 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/0.4315, allocations: 1.408 MB / 0.5776 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.4315, allocations: 4 kB / 0.5776 GB, free: 2.961 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006144/0.4321, allocations: 159.8 kB / 0.5778 GB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/0.4321, allocations: 4 kB / 0.5778 GB, free: 2.801 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/0.4322, allocations: 23.94 kB / 0.5778 GB, free: 2.777 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.4322, allocations: 4 kB / 0.5778 GB, free: 2.773 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.4322, allocations: 7.938 kB / 0.5778 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.4334, allocations: 0.9208 MB / 0.5787 GB, free: 1.797 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.638e-05/0.4335, allocations: 43.75 kB / 0.5788 GB, free: 1.754 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-05/0.4336, allocations: 23.94 kB / 0.5788 GB, free: 1.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002649/0.4338, allocations: 19.98 kB / 0.5788 GB, free: 1.711 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.5e-05/0.4339, allocations: 48.36 kB / 0.5789 GB, free: 1.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.475e-05/0.4339, allocations: 27.98 kB / 0.5789 GB, free: 1.633 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001612/0.4341, allocations: 179 kB / 0.5791 GB, free: 1.461 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4341, allocations: 4 kB / 0.5791 GB, free: 1.457 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005154/0.4346, allocations: 144 kB / 0.5792 GB, free: 1.316 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.0001459/0.4348, allocations: 123.1 kB / 0.5793 GB, free: 1.188 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006923/0.4355, allocations: 427.6 kB / 0.5797 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4355, allocations: 4 kB / 0.5797 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003146/0.4358, allocations: 223.2 kB / 0.5799 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008324/0.4366, allocations: 139.9 kB / 0.5801 GB, free: 428 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002661/0.4393, allocations: 1.673 MB / 0.5817 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005462/0.4398, allocations: 0.8484 MB / 0.5825 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001979/0.44, allocations: 56.66 kB / 0.5826 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.4401, allocations: 43.44 kB / 0.5826 GB, free: 13.7 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4401, allocations: 4 kB / 0.5826 GB, free: 13.7 MB / 430.1 MB Notification: Performance of Templates: time 0.01299/0.4531, allocations: 5.839 MB / 0.5883 GB, free: 7.918 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.694635688094422]