Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001843/0.001843, allocations: 92.27 kB / 20.96 MB, free: 3.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002232/0.002232, allocations: 152.9 kB / 24.26 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 177 MB / 204.4 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/3.015e-05, allocations: 2.312 kB / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.004115/0.004145, allocations: 2.257 MB / 274.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.005439, allocations: 0.6154 MB / 275.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.005568, allocations: 4 kB / 275.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.005737, allocations: 39.53 kB / 275.1 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001878/0.005924, allocations: 87.27 kB / 275.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.006213, allocations: 59.91 kB / 275.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003685/0.006582, allocations: 270.6 kB / 275.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.006749, allocations: 56.48 kB / 275.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003197/0.007069, allocations: 167.6 kB / 275.7 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.007217, allocations: 71.8 kB / 275.8 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.798e-05/0.007255, allocations: 16 kB / 275.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.2e-05/0.007327, allocations: 27.94 kB / 275.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.216e-05/0.007379, allocations: 43.83 kB / 275.9 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.007487, allocations: 83.77 kB / 276 MB, free: 14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003818/0.007868, allocations: 259.1 kB / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.007872, allocations: 4 kB / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.007873, allocations: 0 / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.007878, allocations: 0 / 276.2 MB, free: 13.75 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008075/0.008686, allocations: 445.7 kB / 276.7 MB, free: 13.28 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.00873, allocations: 11.98 kB / 276.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000216/0.008946, allocations: 52.78 kB / 276.7 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.009308, allocations: 186 kB / 276.9 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.009338, allocations: 20.88 kB / 276.9 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.155e-05/0.009389, allocations: 20.38 kB / 276.9 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004221/0.009811, allocations: 207.4 kB / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.00983, allocations: 8.125 kB / 277.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.00985, allocations: 4.375 kB / 277.2 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.009864, allocations: 11.94 kB / 277.2 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/0.01016, allocations: 125.9 kB / 277.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.01125, allocations: 0.5963 MB / 277.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.01155, allocations: 142.5 kB / 278 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.01169, allocations: 64.83 kB / 278.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.01171, allocations: 0 / 278.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.01175, allocations: 38.56 kB / 278.1 MB, free: 11.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 9.92e-07/0.01175, allocations: 0 / 278.1 MB, free: 11.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.001763/0.01352, allocations: 0.75 MB / 278.9 MB, free: 10.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.01357, allocations: 55.41 kB / 278.9 MB, free: 10.85 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.01377, allocations: 162.5 kB / 279.1 MB, free: 10.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.01379, allocations: 25.7 kB / 279.1 MB, free: 10.65 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.01392, allocations: 148.4 kB / 279.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.197e-05/0.01401, allocations: 87.22 kB / 279.3 MB, free: 10.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.209e-05/0.01409, allocations: 49.7 kB / 279.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.01428, allocations: 338.8 kB / 279.7 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.0144, allocations: 47.98 kB / 279.8 MB, free: 9.973 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.01458, allocations: 105.3 kB / 279.9 MB, free: 9.855 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/0.0149, allocations: 176.1 kB / 280 MB, free: 9.668 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.0149, allocations: 0 / 280 MB, free: 9.668 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005056/0.01541, allocations: 262.2 kB / 280.3 MB, free: 9.402 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.01543, allocations: 7.938 kB / 280.3 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.01544, allocations: 4 kB / 280.3 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001945/0.01563, allocations: 32.84 kB / 280.3 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.01587, allocations: 51.91 kB / 280.4 MB, free: 9.305 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/0.0174, allocations: 1.359 MB / 281.8 MB, free: 7.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.01753, allocations: 8.031 kB / 281.8 MB, free: 7.832 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.01755, allocations: 8 kB / 281.8 MB, free: 7.824 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 27 * 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 prepare postOptimizeDAE: time 0.0001712/0.01772, allocations: 141.7 kB / 281.9 MB, free: 7.676 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.688e-05/0.01779, allocations: 31.86 kB / 281.9 MB, free: 7.645 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.253e-05/0.01784, allocations: 21.97 kB / 282 MB, free: 7.621 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.01784, allocations: 0 / 282 MB, free: 7.621 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.01785, allocations: 12 kB / 282 MB, free: 7.609 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.01786, allocations: 3.984 kB / 282 MB, free: 7.605 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.01886, allocations: 0.5542 MB / 282.5 MB, free: 7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.01887, allocations: 4 kB / 282.5 MB, free: 6.996 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.01909, allocations: 43.91 kB / 282.6 MB, free: 6.953 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001482/0.01924, allocations: 44.84 kB / 282.6 MB, free: 6.906 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.01926, allocations: 3.984 kB / 282.6 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/0.02068, allocations: 1.355 MB / 284 MB, free: 5.445 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.02069, allocations: 4.031 kB / 284 MB, free: 5.441 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007147/0.0214, allocations: 413.5 kB / 284.4 MB, free: 5.016 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.584e-05/0.02144, allocations: 19.92 kB / 284.4 MB, free: 4.996 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.02147, allocations: 11.94 kB / 284.4 MB, free: 4.984 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.0216, allocations: 8 kB / 284.4 MB, free: 4.977 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.647e-05/0.02166, allocations: 20 kB / 284.4 MB, free: 4.957 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.02168, allocations: 8 kB / 284.5 MB, free: 4.949 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001314/0.02181, allocations: 123.2 kB / 284.6 MB, free: 4.828 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02181, allocations: 0 / 284.6 MB, free: 4.828 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003811/0.02219, allocations: 60 kB / 284.6 MB, free: 4.77 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (21): * Single equations (assignments): 20 * 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 0.000156/0.02234, allocations: 103.2 kB / 284.7 MB, free: 4.66 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006634/0.02301, allocations: 295.3 kB / 285 MB, free: 4.359 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.02301, allocations: 0 / 285 MB, free: 4.359 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003617/0.02337, allocations: 202.5 kB / 285.2 MB, free: 4.148 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000473/0.02385, allocations: 56.03 kB / 285.3 MB, free: 4.098 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.02513, allocations: 0.5803 MB / 285.9 MB, free: 3.484 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.02529, allocations: 134.1 kB / 286 MB, free: 3.328 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.565e-05/0.02537, allocations: 29.92 kB / 286 MB, free: 3.301 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.509e-05/0.02543, allocations: 20.5 kB / 286 MB, free: 3.281 MB / 266.7 MB Notification: Performance of SimCode: time 4.3e-07/0.02543, allocations: 0 / 286 MB, free: 3.281 MB / 266.7 MB Notification: Performance of Templates: time 0.007033/0.03246, allocations: 2.473 MB / 288.5 MB, free: 0.8438 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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: 4.252863286063075]