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.0009869/0.0009869, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001022/0.001022, allocations: 170.4 kB / 24.91 MB, free: 8.723 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 0.9645/0.9645, allocations: 177.1 MB / 205.3 MB, free: 4.492 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.1572/0.1572, allocations: 34.26 MB / 296.1 MB, free: 13.99 MB / 282.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 3.426e-06/3.426e-06, allocations: 4 kB / 325.3 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.599e-05, allocations: 2.312 kB / 325.3 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003645/0.003671, allocations: 3.282 MB / 328.6 MB, free: 13.45 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.005306, allocations: 0.8526 MB / 329.4 MB, free: 12.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.005475, allocations: 15.88 kB / 329.4 MB, free: 12.58 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001734/0.005649, allocations: 79.17 kB / 329.5 MB, free: 12.5 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000251/0.0059, allocations: 190.4 kB / 329.7 MB, free: 12.31 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.006096, allocations: 111.8 kB / 329.8 MB, free: 12.2 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004093/0.006506, allocations: 0.6179 MB / 330.4 MB, free: 11.58 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.006707, allocations: 122.5 kB / 330.5 MB, free: 11.45 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002768/0.006984, allocations: 351.2 kB / 330.9 MB, free: 11.11 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.007181, allocations: 179.5 kB / 331 MB, free: 10.93 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.592e-05/0.007237, allocations: 40 kB / 331.1 MB, free: 10.89 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.529e-05/0.007282, allocations: 44 kB / 331.1 MB, free: 10.85 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.859e-05/0.007351, allocations: 115.6 kB / 331.2 MB, free: 10.74 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.007471, allocations: 187.6 kB / 331.4 MB, free: 10.55 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003288/0.0078, allocations: 378.6 kB / 331.8 MB, free: 10.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.007802, allocations: 0 / 331.8 MB, free: 10.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.007803, allocations: 0 / 331.8 MB, free: 10.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.007809, allocations: 0 / 331.8 MB, free: 10.18 MB / 314.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.0006064/0.008416, allocations: 0.6789 MB / 332.5 MB, free: 9.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.846e-05/0.008444, allocations: 8.031 kB / 332.5 MB, free: 9.473 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.203e-05/0.008516, allocations: 76.88 kB / 332.6 MB, free: 9.398 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.008771, allocations: 224.5 kB / 332.8 MB, free: 9.156 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.008801, allocations: 37.38 kB / 332.8 MB, free: 9.121 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.59e-05/0.008857, allocations: 60.3 kB / 332.9 MB, free: 9.062 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.00914, allocations: 319.1 kB / 333.2 MB, free: 8.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.009163, allocations: 20.06 kB / 333.2 MB, free: 8.711 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.009187, allocations: 28.36 kB / 333.2 MB, free: 8.684 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.009195, allocations: 15.94 kB / 333.2 MB, free: 8.668 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.009339, allocations: 143.6 kB / 333.4 MB, free: 8.531 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007815/0.01012, allocations: 0.7534 MB / 334.1 MB, free: 7.758 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.01042, allocations: 269.3 kB / 334.4 MB, free: 7.473 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.01053, allocations: 111.8 kB / 334.5 MB, free: 7.359 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.01054, allocations: 16.5 kB / 334.5 MB, free: 7.344 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.01056, allocations: 39.28 kB / 334.6 MB, free: 7.297 MB / 314.7 MB Notification: Performance of pre-optimization done (n=62): time 1.924e-06/0.01057, allocations: 3.938 kB / 334.6 MB, free: 7.293 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.001434/0.012, allocations: 1.422 MB / 336 MB, free: 5.781 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.01205, allocations: 85.61 kB / 336.1 MB, free: 5.676 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.01218, allocations: 236.9 kB / 336.3 MB, free: 5.434 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002466/0.01243, allocations: 37.7 kB / 336.3 MB, free: 5.391 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.341e-05/0.01251, allocations: 193.8 kB / 336.5 MB, free: 5.199 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.01265, allocations: 281.5 kB / 336.8 MB, free: 4.922 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.01275, allocations: 126.6 kB / 336.9 MB, free: 4.793 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.798e-05/0.01285, allocations: 354.7 kB / 337.3 MB, free: 4.438 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.725e-05/0.01291, allocations: 65.97 kB / 337.3 MB, free: 4.375 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.01304, allocations: 184.8 kB / 337.5 MB, free: 4.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/0.01329, allocations: 318.4 kB / 337.8 MB, free: 3.809 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.01329, allocations: 4 kB / 337.8 MB, free: 3.805 MB / 314.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0002937/0.01358, allocations: 352.9 kB / 338.2 MB, free: 3.453 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.0136, allocations: 8 kB / 338.2 MB, free: 3.445 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.01361, allocations: 4 kB / 338.2 MB, free: 3.441 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.01362, allocations: 4 kB / 338.2 MB, free: 3.438 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003964/0.01401, allocations: 213.2 kB / 338.4 MB, free: 3.234 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.01402, allocations: 8.281 kB / 338.4 MB, free: 3.227 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.01413, allocations: 27.98 kB / 338.4 MB, free: 3.199 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.01415, allocations: 20 kB / 338.5 MB, free: 3.18 MB / 314.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.0001004/0.01425, allocations: 157.5 kB / 338.6 MB, free: 3.016 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.017e-05/0.01431, allocations: 51.95 kB / 338.7 MB, free: 2.965 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.671e-05/0.01437, allocations: 55.61 kB / 338.7 MB, free: 2.906 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.01437, allocations: 8 kB / 338.7 MB, free: 2.898 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.01438, allocations: 8.062 kB / 338.7 MB, free: 2.891 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.01438, allocations: 3.984 kB / 338.7 MB, free: 2.887 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008647/0.01525, allocations: 0.951 MB / 339.7 MB, free: 1.863 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.01525, allocations: 0 / 339.7 MB, free: 1.863 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004181/0.01567, allocations: 198.8 kB / 339.9 MB, free: 1.676 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.01567, allocations: 7.938 kB / 339.9 MB, free: 1.668 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.01569, allocations: 19.94 kB / 339.9 MB, free: 1.648 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.0157, allocations: 11.98 kB / 339.9 MB, free: 1.637 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.0157, allocations: 0 / 339.9 MB, free: 1.637 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004581/0.01616, allocations: 0.6553 MB / 340.6 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.27e-05/0.01619, allocations: 39.72 kB / 340.6 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.01623, allocations: 27.92 kB / 340.6 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.01635, allocations: 16 kB / 340.7 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.0164, allocations: 56.34 kB / 340.7 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.01641, allocations: 16 kB / 340.7 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.155e-05/0.01646, allocations: 78.7 kB / 340.8 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01646, allocations: 0 / 340.8 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002863/0.01675, allocations: 144 kB / 340.9 MB, free: 0.5586 MB / 314.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.0001107/0.01686, allocations: 100.3 kB / 341 MB, free: 464 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002819/0.01714, allocations: 311.7 kB / 341.4 MB, free: 148 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.01715, allocations: 4 kB / 341.4 MB, free: 144 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1364/0.1535, allocations: 170 kB / 341.5 MB, free: 31.13 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006347/0.1542, allocations: 121.2 kB / 341.6 MB, free: 31.13 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.1556, allocations: 1.081 MB / 342.7 MB, free: 30.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.1557, allocations: 130.5 kB / 342.8 MB, free: 30.51 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001564/0.1559, allocations: 57.09 kB / 342.9 MB, free: 30.51 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/0.1561, allocations: 172.2 kB / 343.1 MB, free: 30.46 MB / 314.7 MB Notification: Performance of SimCode: time 1.472e-06/0.1561, allocations: 0 / 343.1 MB, free: 30.46 MB / 314.7 MB Notification: Performance of Templates: time 0.009529/0.1656, allocations: 6.215 MB / 349.3 MB, free: 28.95 MB / 314.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 -s gbode -gbm=radauIIA3 -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.0605491986498237]