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.001098/0.001098, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001136/0.001136, allocations: 170.3 kB / 24.82 MB, free: 9.266 MB / 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.023/1.023, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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.3252/0.3252, allocations: 32.8 MB / 294.6 MB, free: 1.176 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.094e-06/2.094e-06, allocations: 0 / 376.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.27e-05, allocations: 2.312 kB / 376.5 MB, free: 4.395 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003842/0.003864, allocations: 3.247 MB / 379.7 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.005489, allocations: 0.8177 MB / 380.5 MB, free: 312 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002212/0.00571, allocations: 11.94 kB / 380.5 MB, free: 300 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001848/0.005895, allocations: 79.17 kB / 380.6 MB, free: 220 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002752/0.00617, allocations: 186.4 kB / 380.8 MB, free: 32 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.006408, allocations: 111.9 kB / 380.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004183/0.006826, allocations: 0.6179 MB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002214/0.007048, allocations: 117.7 kB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002757/0.007323, allocations: 347.3 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.007503, allocations: 175.5 kB / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.6e-05/0.007549, allocations: 44 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.086e-05/0.0076, allocations: 44 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.008e-05/0.00766, allocations: 111.6 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.007797, allocations: 187.6 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000327/0.008124, allocations: 386.5 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.008126, allocations: 0 / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.008127, allocations: 0 / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.008133, allocations: 0 / 382.9 MB, free: 13.91 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.000693/0.008826, allocations: 0.7958 MB / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.008864, allocations: 19.95 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.277e-05/0.008947, allocations: 92.59 kB / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.009199, allocations: 263.4 kB / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.009225, allocations: 37.31 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.947e-05/0.009284, allocations: 56.28 kB / 384.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003087/0.009593, allocations: 328.8 kB / 384.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.009611, allocations: 8.141 kB / 384.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.009633, allocations: 20.38 kB / 384.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.009648, allocations: 15.94 kB / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.00983, allocations: 175.4 kB / 384.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008903/0.01072, allocations: 0.9585 MB / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000345/0.01107, allocations: 302.1 kB / 385.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.01118, allocations: 133 kB / 386.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.0112, allocations: 16.52 kB / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.01122, allocations: 45.83 kB / 386.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=62): time 1.693e-06/0.01122, allocations: 0 / 386.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.001708/0.01293, allocations: 1.446 MB / 387.6 MB, free: 8.969 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.01297, allocations: 85.61 kB / 387.7 MB, free: 8.867 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.01311, allocations: 288.1 kB / 387.9 MB, free: 8.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.01313, allocations: 37.7 kB / 388 MB, free: 8.527 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.01325, allocations: 268 kB / 388.2 MB, free: 8.258 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.01338, allocations: 273.6 kB / 388.5 MB, free: 7.988 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.01348, allocations: 136.2 kB / 388.6 MB, free: 7.848 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.01363, allocations: 0.5273 MB / 389.2 MB, free: 7.309 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.618e-05/0.0137, allocations: 73.92 kB / 389.2 MB, free: 7.238 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.01386, allocations: 230.7 kB / 389.5 MB, free: 6.965 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/0.01412, allocations: 360.7 kB / 389.8 MB, free: 6.559 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01412, allocations: 0 / 389.8 MB, free: 6.559 MB / 362.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0003596/0.01448, allocations: 460.8 kB / 390.3 MB, free: 6.102 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.0145, allocations: 8 kB / 390.3 MB, free: 6.094 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.0145, allocations: 4 kB / 390.3 MB, free: 6.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.01451, allocations: 4 kB / 390.3 MB, free: 6.086 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002947/0.01481, allocations: 179.8 kB / 390.5 MB, free: 5.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.01482, allocations: 11.94 kB / 390.5 MB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.01493, allocations: 20 kB / 390.5 MB, free: 5.879 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.01495, allocations: 20 kB / 390.5 MB, free: 5.859 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.0001105/0.01506, allocations: 204.4 kB / 390.7 MB, free: 5.648 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.405e-05/0.01512, allocations: 71.66 kB / 390.8 MB, free: 5.578 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.217e-05/0.01517, allocations: 55.62 kB / 390.8 MB, free: 5.523 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.01518, allocations: 7.984 kB / 390.8 MB, free: 5.516 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.01518, allocations: 4 kB / 390.9 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.01519, allocations: 3.984 kB / 390.9 MB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009639/0.01615, allocations: 1.222 MB / 392.1 MB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.01616, allocations: 4 kB / 392.1 MB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003153/0.01647, allocations: 155.8 kB / 392.2 MB, free: 4.031 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/0.01648, allocations: 8 kB / 392.2 MB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.0165, allocations: 20 kB / 392.3 MB, free: 4.004 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.0165, allocations: 4 kB / 392.3 MB, free: 4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.01651, allocations: 4.344 kB / 392.3 MB, free: 3.996 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005464/0.01705, allocations: 0.8616 MB / 393.1 MB, free: 3.074 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.329e-05/0.01709, allocations: 39.7 kB / 393.2 MB, free: 3.035 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/0.01712, allocations: 19.98 kB / 393.2 MB, free: 3.016 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.01724, allocations: 24.06 kB / 393.2 MB, free: 2.992 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.01729, allocations: 52.34 kB / 393.3 MB, free: 2.941 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.0173, allocations: 16 kB / 393.3 MB, free: 2.926 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004325/0.01773, allocations: 185.1 kB / 393.5 MB, free: 2.742 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01773, allocations: 4 kB / 393.5 MB, free: 2.738 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002868/0.01802, allocations: 148 kB / 393.6 MB, free: 2.594 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 9.313e-05/0.01811, allocations: 127 kB / 393.7 MB, free: 2.457 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002761/0.01839, allocations: 317.7 kB / 394 MB, free: 2.145 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01839, allocations: 4.5 kB / 394 MB, free: 2.141 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.01854, allocations: 191.6 kB / 394.2 MB, free: 1.945 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.01897, allocations: 123.8 kB / 394.4 MB, free: 1.828 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.02039, allocations: 1.377 MB / 395.7 MB, free: 376 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.878e-05/0.02048, allocations: 135.3 kB / 395.9 MB, free: 216 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001108/0.02059, allocations: 56.66 kB / 395.9 MB, free: 156 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.0208, allocations: 190.2 kB / 396.1 MB, free: 15.96 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.0208, allocations: 0 / 396.1 MB, free: 15.96 MB / 378.7 MB Notification: Performance of Templates: time 0.009318/0.03012, allocations: 5.853 MB / 402 MB, free: 10.25 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","",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.360504754818976]