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.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.00186/0.00186, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002039/0.002039, allocations: 169.3 kB / 24.27 MB, free: 156 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 1.585/1.585, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 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.3389/0.3389, allocations: 32.81 MB / 293.9 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 180] 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.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.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 2.415e-06/2.415e-06, allocations: 0 / 375.2 MB, free: 5.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.181e-05/3.423e-05, allocations: 5.547 kB / 375.2 MB, free: 5.016 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.005027/0.005062, allocations: 3.259 MB / 378.5 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.00682, allocations: 0.8217 MB / 379.3 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002097/0.00703, allocations: 15.88 kB / 379.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.007256, allocations: 71.19 kB / 379.4 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003673/0.007623, allocations: 190.4 kB / 379.6 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.007874, allocations: 103.8 kB / 379.7 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007522/0.008626, allocations: 0.6179 MB / 380.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002631/0.008889, allocations: 117.9 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004608/0.00935, allocations: 351.2 kB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002888/0.009639, allocations: 179.5 kB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.991e-05/0.009709, allocations: 40 kB / 381 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.192e-05/0.0098, allocations: 52 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.955e-05/0.0099, allocations: 95.64 kB / 381.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002349/0.01013, allocations: 191.6 kB / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006784/0.01081, allocations: 0.5723 MB / 381.9 MB, free: 14.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.01082, allocations: 0 / 381.9 MB, free: 14.33 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.01082, allocations: 3.938 kB / 381.9 MB, free: 14.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.844e-06/0.01083, allocations: 0 / 381.9 MB, free: 14.32 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.001261/0.01209, allocations: 0.819 MB / 382.7 MB, free: 13.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.01214, allocations: 8.031 kB / 382.7 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.01229, allocations: 96.61 kB / 382.8 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004178/0.01271, allocations: 263.3 kB / 383.1 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.917e-05/0.01275, allocations: 33.38 kB / 383.1 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.612e-05/0.01284, allocations: 56.33 kB / 383.2 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007566/0.01359, allocations: 448.8 kB / 383.6 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.259e-05/0.01364, allocations: 24.02 kB / 383.6 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.155e-05/0.01368, allocations: 20.38 kB / 383.6 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.01369, allocations: 15.94 kB / 383.7 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005461/0.01424, allocations: 296.5 kB / 383.9 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.01611, allocations: 1.126 MB / 385.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007424/0.01685, allocations: 406.2 kB / 385.5 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003176/0.01717, allocations: 201.5 kB / 385.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.0172, allocations: 12.72 kB / 385.7 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.01724, allocations: 45.83 kB / 385.7 MB, free: 10.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=62): time 1.984e-06/0.01724, allocations: 0 / 385.7 MB, free: 10.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.003206/0.02045, allocations: 1.895 MB / 387.6 MB, free: 8.324 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/0.02051, allocations: 89.61 kB / 387.7 MB, free: 8.219 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003191/0.02083, allocations: 336.2 kB / 388 MB, free: 7.875 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.02087, allocations: 37.7 kB / 388.1 MB, free: 7.832 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.02107, allocations: 264.1 kB / 388.3 MB, free: 7.566 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00025/0.02132, allocations: 293.5 kB / 388.6 MB, free: 7.277 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002007/0.02152, allocations: 148.3 kB / 388.8 MB, free: 7.125 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003114/0.02184, allocations: 0.5469 MB / 389.3 MB, free: 6.566 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002787/0.02211, allocations: 153.9 kB / 389.5 MB, free: 6.418 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004308/0.02255, allocations: 323 kB / 389.8 MB, free: 6.055 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007654/0.02331, allocations: 0.5278 MB / 390.3 MB, free: 5.473 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.02332, allocations: 3.938 kB / 390.3 MB, free: 5.469 MB / 362.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009574/0.02427, allocations: 0.5985 MB / 390.9 MB, free: 4.863 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.0243, allocations: 8 kB / 390.9 MB, free: 4.855 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.02431, allocations: 0 / 390.9 MB, free: 4.855 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.496e-05/0.02433, allocations: 8 kB / 390.9 MB, free: 4.848 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006309/0.02496, allocations: 183.7 kB / 391.1 MB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/0.02498, allocations: 8 kB / 391.1 MB, free: 4.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/0.02524, allocations: 24.05 kB / 391.1 MB, free: 4.637 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.866e-05/0.02529, allocations: 32 kB / 391.2 MB, free: 4.605 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.000268/0.02556, allocations: 232.4 kB / 391.4 MB, free: 4.367 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.02569, allocations: 75.72 kB / 391.5 MB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.02582, allocations: 51.61 kB / 391.5 MB, free: 4.242 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.02583, allocations: 8 kB / 391.5 MB, free: 4.234 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.977e-05/0.02585, allocations: 0 / 391.5 MB, free: 4.234 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.02586, allocations: 3.984 kB / 391.5 MB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002226/0.02809, allocations: 1.499 MB / 393 MB, free: 2.625 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.02809, allocations: 0 / 393 MB, free: 2.625 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006279/0.02872, allocations: 155.8 kB / 393.2 MB, free: 2.473 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/0.02873, allocations: 4 kB / 393.2 MB, free: 2.469 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.101e-05/0.02877, allocations: 23.98 kB / 393.2 MB, free: 2.445 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-05/0.02878, allocations: 11.94 kB / 393.2 MB, free: 2.434 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.02879, allocations: 4.344 kB / 393.2 MB, free: 2.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/0.03039, allocations: 1.061 MB / 394.3 MB, free: 1.309 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.759e-05/0.03048, allocations: 43.7 kB / 394.3 MB, free: 1.266 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.926e-05/0.03054, allocations: 20 kB / 394.3 MB, free: 1.246 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002729/0.03081, allocations: 16 kB / 394.4 MB, free: 1.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.927e-05/0.0309, allocations: 60.28 kB / 394.4 MB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.329e-05/0.03094, allocations: 20 kB / 394.4 MB, free: 1.152 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000205/0.03114, allocations: 217.1 kB / 394.6 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03114, allocations: 0 / 394.6 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005438/0.03168, allocations: 144 kB / 394.8 MB, free: 0.7969 MB / 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.0001696/0.03185, allocations: 119.1 kB / 394.9 MB, free: 0.668 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007907/0.03265, allocations: 485.7 kB / 395.4 MB, free: 196 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.03265, allocations: 0.5625 kB / 395.4 MB, free: 196 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003908/0.03304, allocations: 263.6 kB / 395.6 MB, free: 15.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000836/0.03387, allocations: 138.2 kB / 395.8 MB, free: 15.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.0363, allocations: 1.424 MB / 397.2 MB, free: 14.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.03657, allocations: 250 kB / 397.4 MB, free: 14.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002115/0.03678, allocations: 56.66 kB / 397.5 MB, free: 13.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.03689, allocations: 44.5 kB / 397.5 MB, free: 13.92 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/0.0369, allocations: 0 / 397.5 MB, free: 13.92 MB / 378.7 MB Notification: Performance of Templates: time 0.01255/0.04944, allocations: 5.356 MB / 402.9 MB, free: 8.668 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 240] 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.08974628301803]