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.0009378/0.0009378, allocations: 77.97 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.0009899/0.0009899, allocations: 168.8 kB / 24.82 MB, free: 9.27 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.9434/0.9434, allocations: 177.1 MB / 205.3 MB, free: 5.512 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 2.114e-06/2.114e-06, allocations: 0 / 273.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.975e-05/3.186e-05, allocations: 2.312 kB / 273.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002725/0.002757, allocations: 2.366 MB / 275.8 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008157/0.003573, allocations: 0.6348 MB / 276.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.003696, allocations: 7.938 kB / 276.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.003833, allocations: 39.59 kB / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.003971, allocations: 91.2 kB / 276.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002108/0.004182, allocations: 59.91 kB / 276.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.004402, allocations: 290.5 kB / 276.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.004547, allocations: 67.3 kB / 276.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002122/0.004759, allocations: 171.5 kB / 277.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.004866, allocations: 83.72 kB / 277.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.004893, allocations: 20 kB / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.53e-05/0.004949, allocations: 27.98 kB / 277.2 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.041e-05/0.004979, allocations: 55.75 kB / 277.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.445e-05/0.005034, allocations: 79.83 kB / 277.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.005239, allocations: 187.3 kB / 277.5 MB, free: 13.13 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.005241, allocations: 0 / 277.5 MB, free: 13.13 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.005242, allocations: 0 / 277.5 MB, free: 13.13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.005246, allocations: 0 / 277.5 MB, free: 13.13 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.0004605/0.005706, allocations: 0.5545 MB / 278.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.005739, allocations: 12.03 kB / 278.1 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.005861, allocations: 52.73 kB / 278.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.006024, allocations: 188.9 kB / 278.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/0.006059, allocations: 20.81 kB / 278.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.006088, allocations: 24.33 kB / 278.4 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.006258, allocations: 149.4 kB / 278.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.006269, allocations: 4.188 kB / 278.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.006281, allocations: 4.375 kB / 278.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.006289, allocations: 11.92 kB / 278.6 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.831e-05/0.006367, allocations: 71.42 kB / 278.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005053/0.006872, allocations: 0.5137 MB / 279.1 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.00701, allocations: 134.9 kB / 279.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.494e-05/0.007065, allocations: 51.66 kB / 279.3 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.007082, allocations: 4 kB / 279.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.0071, allocations: 37.39 kB / 279.4 MB, free: 11.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.223e-06/0.007101, allocations: 0 / 279.4 MB, free: 11.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0008582/0.007959, allocations: 0.7234 MB / 280.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/0.007983, allocations: 55.41 kB / 280.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.008086, allocations: 225.8 kB / 280.4 MB, free: 10.1 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.008099, allocations: 29.7 kB / 280.4 MB, free: 10.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.054e-05/0.00817, allocations: 187.5 kB / 280.6 MB, free: 9.879 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.469e-05/0.008224, allocations: 118.9 kB / 280.7 MB, free: 9.762 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-05/0.008279, allocations: 55.34 kB / 280.7 MB, free: 9.699 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.008395, allocations: 0.5116 MB / 281.3 MB, free: 9.176 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.822e-05/0.008433, allocations: 31.97 kB / 281.3 MB, free: 9.145 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.047e-05/0.008494, allocations: 75.66 kB / 281.4 MB, free: 9.059 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.008607, allocations: 120.7 kB / 281.5 MB, free: 8.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.008608, allocations: 0 / 281.5 MB, free: 8.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002234/0.008832, allocations: 226 kB / 281.7 MB, free: 8.699 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.008843, allocations: 4 kB / 281.7 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.008849, allocations: 3.938 kB / 281.7 MB, free: 8.691 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001179/0.008967, allocations: 43.7 kB / 281.7 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.009097, allocations: 59.91 kB / 281.8 MB, free: 8.586 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/0.01013, allocations: 2.091 MB / 283.9 MB, free: 6.387 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.961e-05/0.01019, allocations: 8 kB / 283.9 MB, free: 6.379 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.0102, allocations: 7.938 kB / 283.9 MB, free: 6.371 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 8.148e-05/0.01028, allocations: 176.5 kB / 284.1 MB, free: 6.188 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/0.01032, allocations: 31.86 kB / 284.1 MB, free: 6.156 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.831e-05/0.01035, allocations: 30.64 kB / 284.1 MB, free: 6.125 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01035, allocations: 4 kB / 284.1 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.01035, allocations: 0 / 284.1 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.01036, allocations: 0 / 284.1 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000591/0.01095, allocations: 0.6282 MB / 284.8 MB, free: 5.438 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.01095, allocations: 8.031 kB / 284.8 MB, free: 5.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.01109, allocations: 55.97 kB / 284.8 MB, free: 5.375 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.148e-05/0.01116, allocations: 27.67 kB / 284.9 MB, free: 5.344 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.01117, allocations: 11.98 kB / 284.9 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008053/0.01198, allocations: 1.792 MB / 286.7 MB, free: 3.426 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.01198, allocations: 15.95 kB / 286.7 MB, free: 3.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/0.01227, allocations: 422.9 kB / 287.1 MB, free: 2.961 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.537e-05/0.01229, allocations: 19.83 kB / 287.1 MB, free: 2.941 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.0123, allocations: 8 kB / 287.1 MB, free: 2.934 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.44e-05/0.01237, allocations: 8 kB / 287.1 MB, free: 2.926 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.0124, allocations: 23.95 kB / 287.2 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.425e-06/0.01241, allocations: 8 kB / 287.2 MB, free: 2.895 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.143e-05/0.01246, allocations: 152.4 kB / 287.3 MB, free: 2.746 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01246, allocations: 4 kB / 287.3 MB, free: 2.742 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002329/0.0127, allocations: 64 kB / 287.4 MB, free: 2.68 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 9.842e-05/0.01279, allocations: 111.2 kB / 287.5 MB, free: 2.559 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004041/0.0132, allocations: 326.3 kB / 287.8 MB, free: 2.219 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.0132, allocations: 0 / 287.8 MB, free: 2.219 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002434/0.01344, allocations: 274.5 kB / 288.1 MB, free: 1.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.01383, allocations: 42.11 kB / 288.1 MB, free: 1.891 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.01494, allocations: 0.6341 MB / 288.8 MB, free: 1.215 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.952e-05/0.01499, allocations: 92.92 kB / 288.8 MB, free: 1.105 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.838e-05/0.01505, allocations: 26.27 kB / 288.9 MB, free: 1.078 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.543e-05/0.01515, allocations: 114.2 kB / 289 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01515, allocations: 0 / 289 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of Templates: time 0.004729/0.01988, allocations: 2.93 MB / 291.9 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.5673514967784286]