Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001161/0.001161, allocations: 81.86 kB / 21.44 MB, free: 3.062 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.001253/0.001253, allocations: 161.8 kB / 24.83 MB, free: 9.195 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.013/1.013, allocations: 158.6 MB / 186.7 MB, free: 2.809 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1711/0.1711, allocations: 32.37 MB / 271.5 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 348.9 MB, free: 9.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.522e-05, allocations: 4.281 kB / 348.9 MB, free: 9.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003306/0.003332, allocations: 3.227 MB / 352.1 MB, free: 5.938 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.004608, allocations: 0.8304 MB / 353 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001976/0.004806, allocations: 11.88 kB / 353 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.004974, allocations: 71.25 kB / 353 MB, free: 5.016 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002866/0.005261, allocations: 190.3 kB / 353.2 MB, free: 4.828 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.00549, allocations: 111.8 kB / 353.3 MB, free: 4.719 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004075/0.005897, allocations: 0.614 MB / 353.9 MB, free: 4.102 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002319/0.006129, allocations: 113.9 kB / 354.1 MB, free: 3.988 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000317/0.006446, allocations: 351.2 kB / 354.4 MB, free: 3.645 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.006646, allocations: 179.5 kB / 354.6 MB, free: 3.469 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.881e-05/0.006695, allocations: 40 kB / 354.6 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.326e-05/0.006748, allocations: 44 kB / 354.7 MB, free: 3.387 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.909e-05/0.006807, allocations: 111.6 kB / 354.8 MB, free: 3.277 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.006938, allocations: 187.6 kB / 355 MB, free: 3.094 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003464/0.007284, allocations: 382.5 kB / 355.3 MB, free: 2.719 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.007288, allocations: 0 / 355.3 MB, free: 2.719 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.007289, allocations: 0 / 355.3 MB, free: 2.719 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.007295, allocations: 0 / 355.3 MB, free: 2.719 MB / 282.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.0007853/0.008081, allocations: 0.7997 MB / 356.1 MB, free: 1.879 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.008115, allocations: 8.031 kB / 356.1 MB, free: 1.871 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.008228, allocations: 96.61 kB / 356.2 MB, free: 1.777 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.008533, allocations: 275.2 kB / 356.5 MB, free: 1.48 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/0.008562, allocations: 33.38 kB / 356.5 MB, free: 1.449 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.889e-05/0.008631, allocations: 56.33 kB / 356.6 MB, free: 1.395 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000393/0.009024, allocations: 324.7 kB / 356.9 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.076e-05/0.009054, allocations: 12.12 kB / 356.9 MB, free: 1.047 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.382e-05/0.009088, allocations: 32.36 kB / 356.9 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.009105, allocations: 15.94 kB / 357 MB, free: 1 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002516/0.009357, allocations: 172.2 kB / 357.1 MB, free: 0.832 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.01053, allocations: 0.9546 MB / 358.1 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004565/0.01099, allocations: 305.9 kB / 358.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.01114, allocations: 124.8 kB / 358.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.01116, allocations: 16.53 kB / 358.5 MB, free: 15.37 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.01119, allocations: 41.89 kB / 358.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=62): time 2.224e-06/0.0112, allocations: 0 / 358.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=74): time 0.001733/0.01293, allocations: 1.447 MB / 360 MB, free: 13.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.01297, allocations: 85.61 kB / 360.1 MB, free: 13.67 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.01318, allocations: 296.1 kB / 360.4 MB, free: 13.36 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.01321, allocations: 37.7 kB / 360.4 MB, free: 13.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.01336, allocations: 260.1 kB / 360.7 MB, free: 13.06 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002541/0.01361, allocations: 281.5 kB / 360.9 MB, free: 12.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.01376, allocations: 132.2 kB / 361.1 MB, free: 12.65 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.01393, allocations: 0.5273 MB / 361.6 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.01405, allocations: 73.94 kB / 361.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00028/0.01433, allocations: 230.7 kB / 361.9 MB, free: 11.76 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003922/0.01472, allocations: 360.6 kB / 362.2 MB, free: 11.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.01473, allocations: 0 / 362.2 MB, free: 11.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0005391/0.01527, allocations: 452.9 kB / 362.7 MB, free: 10.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.01528, allocations: 4 kB / 362.7 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.01529, allocations: 4 kB / 362.7 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.01531, allocations: 4 kB / 362.7 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004223/0.01573, allocations: 179.7 kB / 362.9 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.01574, allocations: 11.92 kB / 362.9 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.01591, allocations: 24 kB / 362.9 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.01594, allocations: 20 kB / 362.9 MB, free: 10.67 MB / 298.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.0001449/0.01608, allocations: 200.5 kB / 363.1 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.398e-05/0.01618, allocations: 71.66 kB / 363.2 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.068e-05/0.01626, allocations: 55.61 kB / 363.3 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.01626, allocations: 8 kB / 363.3 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.01627, allocations: 0 / 363.3 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.01628, allocations: 3.984 kB / 363.3 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.01766, allocations: 1.23 MB / 364.5 MB, free: 8.992 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.01766, allocations: 4 kB / 364.5 MB, free: 8.988 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004713/0.01813, allocations: 159.8 kB / 364.7 MB, free: 8.832 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/0.01814, allocations: 7.938 kB / 364.7 MB, free: 8.824 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.69e-05/0.01818, allocations: 20 kB / 364.7 MB, free: 8.805 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.01818, allocations: 4 kB / 364.7 MB, free: 8.801 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.01819, allocations: 8.281 kB / 364.7 MB, free: 8.793 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007966/0.01898, allocations: 0.8537 MB / 365.5 MB, free: 7.875 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-05/0.01904, allocations: 47.72 kB / 365.6 MB, free: 7.828 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.616e-05/0.01909, allocations: 12 kB / 365.6 MB, free: 7.816 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.01933, allocations: 23.98 kB / 365.6 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.1e-05/0.01939, allocations: 52.3 kB / 365.7 MB, free: 7.742 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.01942, allocations: 16 kB / 365.7 MB, free: 7.727 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001116/0.01953, allocations: 189.1 kB / 365.9 MB, free: 7.543 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.01953, allocations: 4 kB / 365.9 MB, free: 7.539 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005586/0.02009, allocations: 148 kB / 366 MB, free: 7.395 MB / 298.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.000162/0.02025, allocations: 115.1 kB / 366.1 MB, free: 7.273 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004715/0.02072, allocations: 325.7 kB / 366.5 MB, free: 6.949 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.02073, allocations: 0.5625 kB / 366.5 MB, free: 6.949 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.02094, allocations: 187.6 kB / 366.6 MB, free: 6.766 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007815/0.02172, allocations: 133.3 kB / 366.8 MB, free: 6.637 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/0.0238, allocations: 1.399 MB / 368.2 MB, free: 5.156 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.02391, allocations: 127.3 kB / 368.3 MB, free: 5.016 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000168/0.02407, allocations: 64.64 kB / 368.4 MB, free: 4.953 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002573/0.02433, allocations: 186.1 kB / 368.5 MB, free: 4.77 MB / 298.7 MB Notification: Performance of SimCode: time 8.62e-07/0.02433, allocations: 0 / 368.5 MB, free: 4.77 MB / 298.7 MB Notification: Performance of Templates: time 0.01062/0.03495, allocations: 5.979 MB / 374.5 MB, free: 14.87 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.4297690354287624]