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.001981/0.001981, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.001991/0.001991, allocations: 165.6 kB / 24.27 MB, free: 152 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.6/1.6, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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.347/0.347, allocations: 34.27 MB / 295.3 MB, free: 0.6523 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 / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.889e-05, allocations: 2.312 kB / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.005292/0.005321, allocations: 3.251 MB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.007138, allocations: 0.8218 MB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002062/0.007344, allocations: 11.94 kB / 381.4 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.00758, allocations: 75.23 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003785/0.007958, allocations: 190.3 kB / 381.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002981/0.008256, allocations: 107.8 kB / 381.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000702/0.008959, allocations: 0.6179 MB / 382.3 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002656/0.009224, allocations: 113.8 kB / 382.5 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004606/0.009685, allocations: 355.2 kB / 382.8 MB, free: 13.42 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.009977, allocations: 171.5 kB / 383 MB, free: 13.25 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.364e-05/0.01006, allocations: 44 kB / 383 MB, free: 13.21 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.403e-05/0.01015, allocations: 44 kB / 383.1 MB, free: 13.17 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.01026, allocations: 107.6 kB / 383.2 MB, free: 13.06 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002319/0.01049, allocations: 191.6 kB / 383.3 MB, free: 12.88 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007135/0.01121, allocations: 0.5606 MB / 383.9 MB, free: 12.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.01121, allocations: 4 kB / 383.9 MB, free: 12.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01121, allocations: 0 / 383.9 MB, free: 12.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.01122, allocations: 0 / 383.9 MB, free: 12.31 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.001647/0.01287, allocations: 0.819 MB / 384.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.01292, allocations: 12.03 kB / 384.7 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.01311, allocations: 100.6 kB / 384.8 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/0.01356, allocations: 267.2 kB / 385.1 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.474e-05/0.0136, allocations: 37.38 kB / 385.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.691e-05/0.0137, allocations: 56.27 kB / 385.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007967/0.0145, allocations: 452.8 kB / 385.6 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.464e-05/0.01453, allocations: 16.03 kB / 385.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.115e-05/0.01457, allocations: 20.38 kB / 385.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.01459, allocations: 15.94 kB / 385.7 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005683/0.01516, allocations: 301.2 kB / 386 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002146/0.0173, allocations: 1.126 MB / 387.1 MB, free: 8.992 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008434/0.01815, allocations: 402.3 kB / 387.5 MB, free: 8.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003178/0.01847, allocations: 192.8 kB / 387.7 MB, free: 8.375 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.565e-05/0.0185, allocations: 12.5 kB / 387.7 MB, free: 8.363 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.01854, allocations: 41.89 kB / 387.7 MB, free: 8.312 MB / 362.7 MB Notification: Performance of pre-optimization done (n=62): time 2.805e-06/0.01854, allocations: 0 / 387.7 MB, free: 8.312 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.003374/0.02192, allocations: 1.922 MB / 389.7 MB, free: 6.285 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.024e-05/0.022, allocations: 89.61 kB / 389.7 MB, free: 6.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003413/0.02234, allocations: 328.2 kB / 390.1 MB, free: 5.844 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.02238, allocations: 33.7 kB / 390.1 MB, free: 5.805 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000237/0.02261, allocations: 264.1 kB / 390.4 MB, free: 5.539 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002889/0.0229, allocations: 301.5 kB / 390.7 MB, free: 5.242 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002182/0.02312, allocations: 148.3 kB / 390.8 MB, free: 5.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003428/0.02346, allocations: 0.543 MB / 391.3 MB, free: 4.535 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005889/0.02405, allocations: 157.9 kB / 391.5 MB, free: 4.383 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004395/0.02449, allocations: 326.7 kB / 391.8 MB, free: 4.016 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008015/0.02529, allocations: 0.5201 MB / 392.3 MB, free: 3.441 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.0253, allocations: 3.938 kB / 392.3 MB, free: 3.438 MB / 362.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001003/0.0263, allocations: 0.6022 MB / 392.9 MB, free: 2.828 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.02632, allocations: 8 kB / 392.9 MB, free: 2.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.02634, allocations: 4.281 kB / 393 MB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.02636, allocations: 8 kB / 393 MB, free: 2.809 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006208/0.02698, allocations: 171.8 kB / 393.1 MB, free: 2.641 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.966e-05/0.027, allocations: 15.92 kB / 393.1 MB, free: 2.625 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/0.02727, allocations: 20 kB / 393.2 MB, free: 2.605 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/0.02731, allocations: 28 kB / 393.2 MB, free: 2.578 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.0002654/0.02758, allocations: 228.3 kB / 393.4 MB, free: 2.344 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.02772, allocations: 71.72 kB / 393.5 MB, free: 2.273 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/0.02786, allocations: 51.61 kB / 393.5 MB, free: 2.223 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.958e-06/0.02787, allocations: 12.06 kB / 393.5 MB, free: 2.211 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/0.02788, allocations: 8 kB / 393.6 MB, free: 2.203 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.02789, allocations: 3.984 kB / 393.6 MB, free: 2.199 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0024/0.03029, allocations: 1.495 MB / 395.1 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.0303, allocations: 4 kB / 395.1 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006627/0.03096, allocations: 159.8 kB / 395.2 MB, free: 448 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.17e-05/0.03097, allocations: 8 kB / 395.2 MB, free: 440 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.976e-05/0.03101, allocations: 20 kB / 395.2 MB, free: 420 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-05/0.03102, allocations: 4 kB / 395.2 MB, free: 416 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.03103, allocations: 4 kB / 395.2 MB, free: 412 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.03245, allocations: 1.069 MB / 396.3 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.871e-05/0.03254, allocations: 35.72 kB / 396.3 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.148e-05/0.0326, allocations: 20 kB / 396.4 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002815/0.03288, allocations: 19.98 kB / 396.4 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.804e-05/0.03297, allocations: 56.3 kB / 396.4 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.611e-05/0.03301, allocations: 23.98 kB / 396.5 MB, free: 15.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002089/0.03322, allocations: 217.1 kB / 396.7 MB, free: 14.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03322, allocations: 0 / 396.7 MB, free: 14.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005633/0.03378, allocations: 144 kB / 396.8 MB, free: 14.76 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 () * 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.000167/0.03395, allocations: 119.9 kB / 396.9 MB, free: 14.63 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000819/0.03477, allocations: 477.7 kB / 397.4 MB, free: 14.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.03477, allocations: 3.938 kB / 397.4 MB, free: 14.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003836/0.03515, allocations: 264.6 kB / 397.7 MB, free: 13.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008596/0.03601, allocations: 136.8 kB / 397.8 MB, free: 13.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002681/0.03869, allocations: 1.431 MB / 399.2 MB, free: 12.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.03898, allocations: 250 kB / 399.5 MB, free: 11.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001758/0.03916, allocations: 56.66 kB / 399.5 MB, free: 11.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.03927, allocations: 44.5 kB / 399.6 MB, free: 11.88 MB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.03927, allocations: 0 / 399.6 MB, free: 11.88 MB / 378.7 MB Notification: Performance of Templates: time 0.01192/0.05119, allocations: 5.348 MB / 404.9 MB, free: 6.637 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","/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.186839490081184]