Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 92.62 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002128/0.002128, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 173.4 MB / 200.8 MB, free: 9.305 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/2.859e-05, allocations: 2.312 kB / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003911/0.00394, allocations: 2.234 MB / 269.6 MB, free: 4.48 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.005131, allocations: 0.5648 MB / 270.1 MB, free: 3.91 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.005268, allocations: 7.938 kB / 270.1 MB, free: 3.902 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001775/0.005445, allocations: 39.59 kB / 270.2 MB, free: 3.863 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.005638, allocations: 83.27 kB / 270.2 MB, free: 3.781 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.005871, allocations: 55.91 kB / 270.3 MB, free: 3.727 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003909/0.006262, allocations: 286.5 kB / 270.6 MB, free: 3.445 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.006459, allocations: 68.19 kB / 270.6 MB, free: 3.375 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002621/0.006721, allocations: 167.5 kB / 270.8 MB, free: 3.211 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.00688, allocations: 83.75 kB / 270.9 MB, free: 3.129 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.414e-05/0.006924, allocations: 20 kB / 270.9 MB, free: 3.109 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.434e-05/0.006968, allocations: 24 kB / 270.9 MB, free: 3.086 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.805e-05/0.007026, allocations: 51.77 kB / 271 MB, free: 3.035 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.007143, allocations: 83.83 kB / 271.1 MB, free: 2.953 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003819/0.007525, allocations: 263.1 kB / 271.3 MB, free: 2.695 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.007528, allocations: 0 / 271.3 MB, free: 2.695 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.007529, allocations: 0 / 271.3 MB, free: 2.695 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.007534, allocations: 0 / 271.3 MB, free: 2.695 MB / 250.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.0008749/0.008409, allocations: 461.6 kB / 271.8 MB, free: 2.211 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.008452, allocations: 8.031 kB / 271.8 MB, free: 2.203 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.008563, allocations: 48.8 kB / 271.8 MB, free: 2.156 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003732/0.008936, allocations: 182.1 kB / 272 MB, free: 1.949 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.008965, allocations: 16.88 kB / 272 MB, free: 1.934 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.564e-05/0.00903, allocations: 24.36 kB / 272 MB, free: 1.91 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004264/0.009457, allocations: 192.7 kB / 272.2 MB, free: 1.715 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.009475, allocations: 8.125 kB / 272.2 MB, free: 1.707 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.009502, allocations: 8.375 kB / 272.3 MB, free: 1.699 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.009516, allocations: 7.938 kB / 272.3 MB, free: 1.691 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003052/0.009821, allocations: 137.9 kB / 272.4 MB, free: 1.559 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.01084, allocations: 0.51 MB / 272.9 MB, free: 1.016 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003504/0.01119, allocations: 166.6 kB / 273.1 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.01136, allocations: 84.83 kB / 273.1 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.01139, allocations: 4 kB / 273.2 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.01142, allocations: 38.5 kB / 273.2 MB, free: 0.707 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.222e-06/0.01142, allocations: 0 / 273.2 MB, free: 0.707 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.002079/0.0135, allocations: 0.9256 MB / 274.1 MB, free: 15.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/0.01356, allocations: 59.41 kB / 274.2 MB, free: 15.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.01375, allocations: 163.5 kB / 274.3 MB, free: 15.49 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.01378, allocations: 33.7 kB / 274.4 MB, free: 15.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.0139, allocations: 136.8 kB / 274.5 MB, free: 15.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.01401, allocations: 119 kB / 274.6 MB, free: 15.2 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.888e-05/0.0141, allocations: 53.7 kB / 274.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.0143, allocations: 338.8 kB / 275 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.01445, allocations: 67.97 kB / 275.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.01465, allocations: 110.9 kB / 275.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003638/0.01501, allocations: 192.1 kB / 275.4 MB, free: 14.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.01501, allocations: 0 / 275.4 MB, free: 14.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005857/0.0156, allocations: 306.9 kB / 275.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.01562, allocations: 11.94 kB / 275.7 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.01563, allocations: 3.984 kB / 275.7 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002183/0.01585, allocations: 44.84 kB / 275.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.01612, allocations: 55.91 kB / 275.8 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/0.01794, allocations: 1.61 MB / 277.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.01807, allocations: 8.031 kB / 277.4 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.01809, allocations: 12 kB / 277.4 MB, free: 12.27 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 0.0001625/0.01825, allocations: 141.7 kB / 277.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.504e-05/0.01832, allocations: 31.86 kB / 277.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.273e-05/0.01838, allocations: 30.66 kB / 277.6 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.01838, allocations: 4 kB / 277.6 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.01839, allocations: 8 kB / 277.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.0184, allocations: 3.984 kB / 277.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.01961, allocations: 0.6721 MB / 278.3 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.01961, allocations: 192 / 278.3 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002893/0.0199, allocations: 63.91 kB / 278.4 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001474/0.02005, allocations: 44.91 kB / 278.4 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.02007, allocations: 4 kB / 278.4 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/0.02144, allocations: 1.362 MB / 279.8 MB, free: 9.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.02144, allocations: 3.984 kB / 279.8 MB, free: 9.727 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000808/0.02225, allocations: 498.9 kB / 280.3 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.02229, allocations: 19.86 kB / 280.3 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.02232, allocations: 8 kB / 280.3 MB, free: 9.184 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.02245, allocations: 8 kB / 280.3 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.153e-05/0.02253, allocations: 31.88 kB / 280.3 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.02254, allocations: 8 kB / 280.3 MB, free: 9.137 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001149/0.02266, allocations: 119.2 kB / 280.4 MB, free: 9.02 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02266, allocations: 4 kB / 280.5 MB, free: 9.016 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004109/0.02307, allocations: 64 kB / 280.5 MB, free: 8.953 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 0.0001629/0.02323, allocations: 115.2 kB / 280.6 MB, free: 8.832 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006789/0.02391, allocations: 322.6 kB / 280.9 MB, free: 8.504 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.02391, allocations: 0 / 280.9 MB, free: 8.504 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003863/0.0243, allocations: 234.5 kB / 281.2 MB, free: 8.262 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.02475, allocations: 63.89 kB / 281.2 MB, free: 8.203 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.02605, allocations: 0.6394 MB / 281.9 MB, free: 7.527 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.02623, allocations: 146.6 kB / 282 MB, free: 7.359 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.857e-05/0.02631, allocations: 18.3 kB / 282 MB, free: 7.344 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.622e-05/0.02638, allocations: 20.5 kB / 282.1 MB, free: 7.324 MB / 266.7 MB Notification: Performance of SimCode: time 8.11e-07/0.02638, allocations: 0 / 282.1 MB, free: 7.324 MB / 266.7 MB Notification: Performance of Templates: time 0.007585/0.03397, allocations: 2.687 MB / 284.7 MB, free: 4.672 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.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.469198609003797]