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.00169/0.00169, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001975/0.001975, allocations: 161.7 kB / 24.26 MB, free: 176 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.569/1.569, allocations: 177.2 MB / 204.6 MB, free: 5.609 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.3362/0.3362, allocations: 34.26 MB / 295.3 MB, free: 0.6992 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 2.184e-06/2.184e-06, allocations: 0 / 377.3 MB, free: 3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.085e-05/3.303e-05, allocations: 2.312 kB / 377.3 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.005264/0.005297, allocations: 3.01 MB / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.007275, allocations: 0.8101 MB / 381.1 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004354/0.007711, allocations: 11.94 kB / 381.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003216/0.008032, allocations: 71.23 kB / 381.2 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006082/0.00864, allocations: 190.3 kB / 381.4 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003549/0.008995, allocations: 103.8 kB / 381.5 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009338/0.009929, allocations: 0.6218 MB / 382.1 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003233/0.01025, allocations: 117.8 kB / 382.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006898/0.01094, allocations: 351.2 kB / 382.5 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003432/0.01129, allocations: 167.5 kB / 382.7 MB, free: 13.53 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.158e-05/0.01138, allocations: 44 kB / 382.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.01148, allocations: 48 kB / 382.8 MB, free: 13.44 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.01158, allocations: 103.6 kB / 382.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002709/0.01185, allocations: 187.6 kB / 383.1 MB, free: 13.15 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008304/0.01268, allocations: 0.5645 MB / 383.6 MB, free: 12.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.01269, allocations: 0 / 383.6 MB, free: 12.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.01269, allocations: 0 / 383.6 MB, free: 12.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.476e-05/0.01272, allocations: 0 / 383.6 MB, free: 12.59 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.001532/0.01425, allocations: 0.696 MB / 384.3 MB, free: 11.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.0143, allocations: 8.031 kB / 384.3 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000212/0.01451, allocations: 96.55 kB / 384.4 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005028/0.01501, allocations: 260.5 kB / 384.7 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.713e-05/0.01506, allocations: 37.38 kB / 384.7 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.01516, allocations: 56.27 kB / 384.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008179/0.01598, allocations: 435.2 kB / 385.2 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.143e-05/0.01602, allocations: 24.03 kB / 385.2 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.234e-05/0.01606, allocations: 16.38 kB / 385.2 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.01608, allocations: 15.94 kB / 385.3 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005776/0.01666, allocations: 308.5 kB / 385.6 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001925/0.01858, allocations: 0.9444 MB / 386.5 MB, free: 9.609 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007686/0.01935, allocations: 381.2 kB / 386.9 MB, free: 9.215 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003445/0.0197, allocations: 191.8 kB / 387.1 MB, free: 9.023 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.358e-05/0.01973, allocations: 12.5 kB / 387.1 MB, free: 9.012 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.01977, allocations: 43.06 kB / 387.1 MB, free: 8.961 MB / 362.7 MB Notification: Performance of pre-optimization done (n=62): time 1.913e-06/0.01977, allocations: 3.938 kB / 387.1 MB, free: 8.957 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.003445/0.02322, allocations: 1.876 MB / 389 MB, free: 6.992 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.205e-05/0.02329, allocations: 89.61 kB / 389.1 MB, free: 6.887 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000291/0.02358, allocations: 237.8 kB / 389.3 MB, free: 6.648 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.02362, allocations: 33.7 kB / 389.4 MB, free: 6.609 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.02379, allocations: 209.4 kB / 389.6 MB, free: 6.398 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002741/0.02407, allocations: 293.5 kB / 389.8 MB, free: 6.109 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/0.02424, allocations: 118.6 kB / 390 MB, free: 5.988 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000215/0.02445, allocations: 358.8 kB / 390.3 MB, free: 5.629 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/0.02476, allocations: 153.9 kB / 390.5 MB, free: 5.477 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004344/0.02519, allocations: 280.8 kB / 390.7 MB, free: 5.164 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000766/0.02596, allocations: 470.6 kB / 391.2 MB, free: 4.664 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.02596, allocations: 3.938 kB / 391.2 MB, free: 4.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001029/0.02699, allocations: 0.5996 MB / 391.8 MB, free: 4.055 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.02701, allocations: 7.938 kB / 391.8 MB, free: 4.047 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.02702, allocations: 4 kB / 391.8 MB, free: 4.043 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.791e-05/0.02705, allocations: 8 kB / 391.8 MB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006246/0.02767, allocations: 175.8 kB / 392 MB, free: 3.863 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.05e-05/0.0277, allocations: 8 kB / 392 MB, free: 3.855 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002946/0.02799, allocations: 31.98 kB / 392 MB, free: 3.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.085e-05/0.02804, allocations: 24.19 kB / 392.1 MB, free: 3.801 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.0002399/0.02828, allocations: 185.6 kB / 392.2 MB, free: 3.609 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.02841, allocations: 67.72 kB / 392.3 MB, free: 3.543 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.02855, allocations: 59.61 kB / 392.4 MB, free: 3.488 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.02856, allocations: 12.03 kB / 392.4 MB, free: 3.477 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.02857, allocations: 0 / 392.4 MB, free: 3.477 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.02858, allocations: 3.984 kB / 392.4 MB, free: 3.473 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002297/0.03087, allocations: 1.278 MB / 393.6 MB, free: 2.109 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.03088, allocations: 4 kB / 393.7 MB, free: 2.105 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006791/0.03156, allocations: 167.7 kB / 393.8 MB, free: 1.941 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/0.03157, allocations: 4 kB / 393.8 MB, free: 1.938 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.079e-05/0.03161, allocations: 16 kB / 393.8 MB, free: 1.922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.193e-06/0.03162, allocations: 4 kB / 393.8 MB, free: 1.918 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.03162, allocations: 8.344 kB / 393.8 MB, free: 1.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.03296, allocations: 0.9288 MB / 394.8 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.803e-05/0.03306, allocations: 43.72 kB / 394.8 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/0.03312, allocations: 19.94 kB / 394.8 MB, free: 0.875 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003097/0.03343, allocations: 23.98 kB / 394.9 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.209e-05/0.03352, allocations: 48.36 kB / 394.9 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.311e-05/0.03355, allocations: 20 kB / 394.9 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001859/0.03373, allocations: 165.2 kB / 395.1 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03373, allocations: 4 kB / 395.1 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005975/0.03433, allocations: 144 kB / 395.2 MB, free: 488 kB / 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.0001886/0.03452, allocations: 127.5 kB / 395.4 MB, free: 348 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008599/0.03538, allocations: 432.2 kB / 395.8 MB, free: 15.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.03539, allocations: 0 / 395.8 MB, free: 15.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003676/0.03575, allocations: 227.4 kB / 396 MB, free: 15.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009261/0.03668, allocations: 140.2 kB / 396.1 MB, free: 15.56 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002612/0.03929, allocations: 1.385 MB / 397.5 MB, free: 14.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.0396, allocations: 246 kB / 397.8 MB, free: 13.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002375/0.03984, allocations: 56.66 kB / 397.8 MB, free: 13.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.03996, allocations: 44.5 kB / 397.9 MB, free: 13.74 MB / 378.7 MB Notification: Performance of SimCode: time 9.41e-07/0.03996, allocations: 0 / 397.9 MB, free: 13.74 MB / 378.7 MB Notification: Performance of Templates: time 0.01268/0.05264, allocations: 5.361 MB / 403.2 MB, free: 8.484 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 480] 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.089234289014712]