Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.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.0009526/0.0009526, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009714/0.0009714, allocations: 165 kB / 24.56 MB, free: 8 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 0.9393/0.9393, allocations: 177.1 MB / 205 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 273 MB, free: 1.574 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.79e-05/1.946e-05, allocations: 2.312 kB / 273 MB, free: 1.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002599/0.002618, allocations: 2.403 MB / 275.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009245/0.003543, allocations: 0.6348 MB / 276 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.003658, allocations: 4 kB / 276 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.003796, allocations: 43.52 kB / 276.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001365/0.003933, allocations: 83.27 kB / 276.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.004166, allocations: 63.86 kB / 276.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002491/0.004415, allocations: 290.5 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.004562, allocations: 67.3 kB / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.004769, allocations: 171.5 kB / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.004876, allocations: 83.77 kB / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.004905, allocations: 23.94 kB / 276.8 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.363e-05/0.004959, allocations: 24 kB / 276.8 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.624e-05/0.004995, allocations: 51.77 kB / 276.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.445e-05/0.005059, allocations: 83.81 kB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.005273, allocations: 179.3 kB / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.005275, allocations: 0 / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.005276, allocations: 4 kB / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.005281, allocations: 0 / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005044/0.005785, allocations: 0.5468 MB / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.00582, allocations: 15.97 kB / 277.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.005948, allocations: 56.73 kB / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.006149, allocations: 184.9 kB / 278 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.006165, allocations: 20.88 kB / 278 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.244e-05/0.006197, allocations: 28.33 kB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.0064, allocations: 157.4 kB / 278.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.006414, allocations: 8.172 kB / 278.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.006431, allocations: 8.375 kB / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.006441, allocations: 7.938 kB / 278.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.00656, allocations: 86.88 kB / 278.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005852/0.007146, allocations: 0.5444 MB / 278.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.00732, allocations: 139 kB / 278.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.769e-05/0.007398, allocations: 62.89 kB / 279 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.007415, allocations: 8.094 kB / 279 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.007434, allocations: 45.27 kB / 279.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.593e-06/0.007436, allocations: 0 / 279.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001063/0.008499, allocations: 0.7895 MB / 279.8 MB, free: 10.47 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.008527, allocations: 59.39 kB / 279.9 MB, free: 10.4 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.008648, allocations: 225.9 kB / 280.1 MB, free: 10.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.008663, allocations: 29.7 kB / 280.2 MB, free: 10.13 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.556e-05/0.008739, allocations: 191.5 kB / 280.3 MB, free: 9.938 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.62e-05/0.008795, allocations: 119 kB / 280.5 MB, free: 9.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.703e-05/0.008852, allocations: 59.34 kB / 280.5 MB, free: 9.754 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.008972, allocations: 0.504 MB / 281 MB, free: 9.238 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.082e-05/0.009033, allocations: 39.97 kB / 281.1 MB, free: 9.199 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.172e-05/0.009114, allocations: 83.05 kB / 281.1 MB, free: 9.105 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.009268, allocations: 144.6 kB / 281.3 MB, free: 8.953 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.009269, allocations: 4 kB / 281.3 MB, free: 8.949 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002628/0.009532, allocations: 238.1 kB / 281.5 MB, free: 8.707 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.009544, allocations: 7.938 kB / 281.5 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.009549, allocations: 0 / 281.5 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001291/0.009678, allocations: 39.66 kB / 281.6 MB, free: 8.656 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.00982, allocations: 55.91 kB / 281.6 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009942/0.01081, allocations: 2.13 MB / 283.7 MB, free: 6.355 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.888e-05/0.01088, allocations: 8 kB / 283.8 MB, free: 6.348 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.0109, allocations: 8 kB / 283.8 MB, free: 6.34 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.266e-05/0.01099, allocations: 172.5 kB / 283.9 MB, free: 6.16 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.306e-05/0.01102, allocations: 31.86 kB / 284 MB, free: 6.129 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.01105, allocations: 34.67 kB / 284 MB, free: 6.094 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.01105, allocations: 0 / 284 MB, free: 6.094 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.01106, allocations: 7.938 kB / 284 MB, free: 6.086 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.01106, allocations: 0 / 284 MB, free: 6.086 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005901/0.01165, allocations: 0.6707 MB / 284.7 MB, free: 5.352 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.01165, allocations: 0 / 284.7 MB, free: 5.352 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.0118, allocations: 59.91 kB / 284.7 MB, free: 5.293 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.674e-05/0.01189, allocations: 39.73 kB / 284.8 MB, free: 5.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.0119, allocations: 8 kB / 284.8 MB, free: 5.242 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007198/0.01262, allocations: 1.81 MB / 286.6 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.01262, allocations: 7.984 kB / 286.6 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.01299, allocations: 450.9 kB / 287 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.749e-05/0.01301, allocations: 19.89 kB / 287.1 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.01303, allocations: 16 kB / 287.1 MB, free: 2.789 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.27e-05/0.01309, allocations: 4 kB / 287.1 MB, free: 2.785 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.01313, allocations: 27.89 kB / 287.1 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.01314, allocations: 8 kB / 287.1 MB, free: 2.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.392e-05/0.01321, allocations: 164.3 kB / 287.3 MB, free: 2.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01321, allocations: 0 / 287.3 MB, free: 2.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002323/0.01344, allocations: 64 kB / 287.3 MB, free: 2.527 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.013e-05/0.01352, allocations: 107.2 kB / 287.4 MB, free: 2.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003688/0.01389, allocations: 349.7 kB / 287.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01389, allocations: 0 / 287.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001793/0.01407, allocations: 282.1 kB / 288.1 MB, free: 1.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.01432, allocations: 40.11 kB / 288.1 MB, free: 1.715 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00097/0.01529, allocations: 0.6388 MB / 288.7 MB, free: 1.031 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.377e-05/0.01536, allocations: 88.92 kB / 288.8 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.111e-05/0.01542, allocations: 26.28 kB / 288.8 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.776e-05/0.01547, allocations: 24.5 kB / 288.9 MB, free: 0.875 MB / 266.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01547, allocations: 0 / 288.9 MB, free: 0.875 MB / 266.7 MB Notification: Performance of Templates: time 0.004716/0.02018, allocations: 2.819 MB / 291.7 MB, free: 14.09 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.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: 2.667526795063168]