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.001035/0.001035, allocations: 83.59 kB / 21.18 MB, free: 3.383 MB / 18.57 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.001071/0.001071, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 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 0.9592/0.9592, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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.2923/0.2923, allocations: 34.25 MB / 295.7 MB, free: 0.7656 MB / 266.7 MB " [Timeout remaining time 180] 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 1.703e-06/1.703e-06, allocations: 0 / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/3.06e-05, allocations: 6.25 kB / 378 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003554/0.003585, allocations: 3.275 MB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.005018, allocations: 0.8333 MB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002401/0.005259, allocations: 15.88 kB / 382.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000177/0.005435, allocations: 75.23 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003027/0.005738, allocations: 190.3 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.005971, allocations: 107.8 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004447/0.006415, allocations: 0.6179 MB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.006619, allocations: 113.9 kB / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003162/0.006936, allocations: 347.2 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.007113, allocations: 179.5 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.118e-05/0.007164, allocations: 44 kB / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.086e-05/0.007215, allocations: 44 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.585e-05/0.007271, allocations: 111.6 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.007407, allocations: 187.6 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003526/0.00776, allocations: 382.5 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.007764, allocations: 4 kB / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.007765, allocations: 0 / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.007772, allocations: 0 / 384.5 MB, free: 12.13 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.0007332/0.008506, allocations: 0.7881 MB / 385.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.008541, allocations: 8.031 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.008645, allocations: 92.61 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.008931, allocations: 271.2 kB / 385.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.008956, allocations: 33.38 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.184e-05/0.009018, allocations: 64.27 kB / 385.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004514/0.009469, allocations: 352.8 kB / 386.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.009493, allocations: 12.12 kB / 386.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.009518, allocations: 20.38 kB / 386.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.009531, allocations: 15.94 kB / 386.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.00977, allocations: 206.5 kB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.0108, allocations: 1.005 MB / 387.4 MB, free: 9.168 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004605/0.01126, allocations: 334.1 kB / 387.7 MB, free: 8.812 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.01142, allocations: 140.8 kB / 387.8 MB, free: 8.668 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.01144, allocations: 16.5 kB / 387.8 MB, free: 8.652 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.01147, allocations: 41.89 kB / 387.9 MB, free: 8.602 MB / 362.7 MB Notification: Performance of pre-optimization done (n=62): time 1.974e-06/0.01147, allocations: 0 / 387.9 MB, free: 8.602 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.002395/0.01387, allocations: 1.66 MB / 389.5 MB, free: 6.836 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.01392, allocations: 85.61 kB / 389.6 MB, free: 6.734 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.01411, allocations: 288.2 kB / 389.9 MB, free: 6.438 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.01413, allocations: 37.7 kB / 389.9 MB, free: 6.395 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.01424, allocations: 256 kB / 390.2 MB, free: 6.137 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.01438, allocations: 289.5 kB / 390.5 MB, free: 5.852 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.01449, allocations: 124.3 kB / 390.6 MB, free: 5.723 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.01463, allocations: 0.5235 MB / 391.1 MB, free: 5.188 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.01476, allocations: 97.92 kB / 391.2 MB, free: 5.094 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.01495, allocations: 254.7 kB / 391.5 MB, free: 4.793 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003745/0.01533, allocations: 392.5 kB / 391.8 MB, free: 4.355 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.01533, allocations: 7.938 kB / 391.9 MB, free: 4.348 MB / 362.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0004614/0.01579, allocations: 488.8 kB / 392.3 MB, free: 3.863 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.01581, allocations: 9.719 kB / 392.3 MB, free: 3.855 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.01582, allocations: 4.281 kB / 392.3 MB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.01584, allocations: 8.062 kB / 392.4 MB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003331/0.01617, allocations: 187.7 kB / 392.5 MB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.01618, allocations: 8 kB / 392.5 MB, free: 3.652 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.01633, allocations: 23.98 kB / 392.6 MB, free: 3.629 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.01635, allocations: 27.94 kB / 392.6 MB, free: 3.602 MB / 362.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.01647, allocations: 204.3 kB / 392.8 MB, free: 3.391 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.707e-05/0.01653, allocations: 67.72 kB / 392.9 MB, free: 3.324 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.587e-05/0.0166, allocations: 59.61 kB / 392.9 MB, free: 3.266 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.0166, allocations: 12 kB / 392.9 MB, free: 3.254 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.01661, allocations: 0 / 392.9 MB, free: 3.254 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.01662, allocations: 3.984 kB / 392.9 MB, free: 3.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.01781, allocations: 1.296 MB / 394.2 MB, free: 1.848 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.01782, allocations: 4 kB / 394.2 MB, free: 1.844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003297/0.01815, allocations: 155.8 kB / 394.4 MB, free: 1.691 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.01815, allocations: 8 kB / 394.4 MB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.01818, allocations: 23.94 kB / 394.4 MB, free: 1.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.411e-06/0.01818, allocations: 7.984 kB / 394.4 MB, free: 1.652 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.01819, allocations: 4 kB / 394.4 MB, free: 1.648 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.0192, allocations: 0.9123 MB / 395.3 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.769e-05/0.01926, allocations: 47.7 kB / 395.4 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.097e-05/0.0193, allocations: 16 kB / 395.4 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.01944, allocations: 16 kB / 395.4 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.0195, allocations: 56.28 kB / 395.5 MB, free: 0.543 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.01951, allocations: 20.05 kB / 395.5 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.278e-05/0.01961, allocations: 197.1 kB / 395.7 MB, free: 336 kB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01961, allocations: 0 / 395.7 MB, free: 336 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003351/0.01994, allocations: 144 kB / 395.8 MB, free: 192 kB / 362.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 (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.000113/0.02006, allocations: 123.1 kB / 395.9 MB, free: 56 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004212/0.02048, allocations: 362.5 kB / 396.3 MB, free: 15.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.02048, allocations: 4 kB / 396.3 MB, free: 15.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.02066, allocations: 200.5 kB / 396.5 MB, free: 15.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005232/0.02118, allocations: 132.7 kB / 396.6 MB, free: 15.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.02277, allocations: 1.403 MB / 398 MB, free: 13.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.645e-05/0.02287, allocations: 127.3 kB / 398.2 MB, free: 13.74 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001297/0.023, allocations: 56.59 kB / 398.2 MB, free: 13.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.334e-05/0.02307, allocations: 48.5 kB / 398.3 MB, free: 13.63 MB / 378.7 MB Notification: Performance of SimCode: time 1.202e-06/0.02307, allocations: 0 / 398.3 MB, free: 13.63 MB / 378.7 MB Notification: Performance of Templates: time 0.008092/0.03117, allocations: 5.648 MB / 403.9 MB, free: 8.086 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.287362258415669]