Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008921/0.0008921, allocations: 75.77 kB / 22.46 MB, free: 2.094 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.0008719/0.0008719, allocations: 164.1 kB / 25.75 MB, free: 8.949 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8815/0.8815, allocations: 158.6 MB / 187.5 MB, free: 2.445 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 251.1 MB, free: 7.766 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.159e-05, allocations: 6.109 kB / 251.1 MB, free: 7.762 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.00259/0.002611, allocations: 2.369 MB / 253.5 MB, free: 5.375 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009402/0.003551, allocations: 0.6202 MB / 254.1 MB, free: 4.746 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.003667, allocations: 7.938 kB / 254.1 MB, free: 4.738 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001428/0.00381, allocations: 35.59 kB / 254.1 MB, free: 4.703 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.003939, allocations: 87.27 kB / 254.2 MB, free: 4.617 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.00412, allocations: 59.84 kB / 254.3 MB, free: 4.559 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.004351, allocations: 278.5 kB / 254.6 MB, free: 4.285 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.004507, allocations: 75.23 kB / 254.6 MB, free: 4.211 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.00469, allocations: 155.7 kB / 254.8 MB, free: 4.059 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.004814, allocations: 91.69 kB / 254.9 MB, free: 3.969 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.225e-05/0.004846, allocations: 20 kB / 254.9 MB, free: 3.949 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.399e-05/0.00487, allocations: 20 kB / 254.9 MB, free: 3.93 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.377e-05/0.004904, allocations: 47.83 kB / 255 MB, free: 3.883 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.698e-05/0.004971, allocations: 87.77 kB / 255 MB, free: 3.797 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.005162, allocations: 179.3 kB / 255.2 MB, free: 3.621 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.005164, allocations: 3.938 kB / 255.2 MB, free: 3.617 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.005165, allocations: 0 / 255.2 MB, free: 3.617 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.005169, allocations: 0 / 255.2 MB, free: 3.617 MB / 234.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.0005971/0.005766, allocations: 0.5468 MB / 255.8 MB, free: 3.035 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.005805, allocations: 15.98 kB / 255.8 MB, free: 3.02 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.92e-05/0.005874, allocations: 48.75 kB / 255.8 MB, free: 2.973 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.006112, allocations: 180.9 kB / 256 MB, free: 2.77 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.006129, allocations: 16.88 kB / 256 MB, free: 2.75 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.006163, allocations: 24.38 kB / 256 MB, free: 2.727 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.006388, allocations: 161.4 kB / 256.2 MB, free: 2.559 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.006403, allocations: 8.125 kB / 256.2 MB, free: 2.551 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.006421, allocations: 8.375 kB / 256.2 MB, free: 2.543 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.006431, allocations: 11.94 kB / 256.2 MB, free: 2.531 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.00655, allocations: 74.94 kB / 256.3 MB, free: 2.461 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006209/0.007171, allocations: 0.5482 MB / 256.9 MB, free: 1.875 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.007361, allocations: 143 kB / 257 MB, free: 1.723 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.158e-05/0.007443, allocations: 63.66 kB / 257.1 MB, free: 1.656 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.00746, allocations: 4 kB / 257.1 MB, free: 1.652 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.007482, allocations: 41.39 kB / 257.1 MB, free: 1.602 MB / 234.7 MB Notification: Performance of pre-optimization done (n=24): time 1.603e-06/0.007484, allocations: 0 / 257.1 MB, free: 1.602 MB / 234.7 MB Notification: Performance of matching and sorting (n=32): time 0.001136/0.008619, allocations: 0.7903 MB / 257.9 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.008651, allocations: 59.34 kB / 257.9 MB, free: 0.6758 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.008771, allocations: 222.1 kB / 258.2 MB, free: 452 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.008787, allocations: 29.7 kB / 258.2 MB, free: 416 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.95e-05/0.008866, allocations: 191.5 kB / 258.4 MB, free: 216 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.022e-05/0.008926, allocations: 119 kB / 258.5 MB, free: 96 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/0.008984, allocations: 59.36 kB / 258.6 MB, free: 28 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.00912, allocations: 0.5039 MB / 259.1 MB, free: 15.51 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.25e-05/0.009183, allocations: 39.97 kB / 259.1 MB, free: 15.47 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.648e-05/0.009269, allocations: 87.05 kB / 259.2 MB, free: 15.38 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.009423, allocations: 140.6 kB / 259.3 MB, free: 15.23 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.009424, allocations: 0 / 259.3 MB, free: 15.23 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002732/0.009697, allocations: 241.2 kB / 259.6 MB, free: 14.98 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.009711, allocations: 7.938 kB / 259.6 MB, free: 14.97 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.009715, allocations: 3.938 kB / 259.6 MB, free: 14.97 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001453/0.009861, allocations: 47.66 kB / 259.6 MB, free: 14.92 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.01001, allocations: 59.97 kB / 259.7 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001065/0.01108, allocations: 2.114 MB / 261.8 MB, free: 12.63 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.507e-05/0.01114, allocations: 8 kB / 261.8 MB, free: 12.62 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.01115, allocations: 12 kB / 261.8 MB, free: 12.61 MB / 250.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.241e-05/0.01125, allocations: 168.6 kB / 262 MB, free: 12.43 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.01128, allocations: 31.84 kB / 262 MB, free: 12.4 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.293e-05/0.01131, allocations: 34.64 kB / 262 MB, free: 12.37 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.01132, allocations: 4 kB / 262 MB, free: 12.37 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.01132, allocations: 3.938 kB / 262 MB, free: 12.36 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.01133, allocations: 0 / 262 MB, free: 12.36 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006237/0.01195, allocations: 0.6707 MB / 262.7 MB, free: 11.63 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.01195, allocations: 4.094 kB / 262.7 MB, free: 11.62 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.0121, allocations: 55.91 kB / 262.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.332e-05/0.01219, allocations: 39.64 kB / 262.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.0122, allocations: 8 kB / 262.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007647/0.01297, allocations: 1.803 MB / 264.6 MB, free: 9.59 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01297, allocations: 8.031 kB / 264.6 MB, free: 9.582 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003701/0.01334, allocations: 450.4 kB / 265.1 MB, free: 9.105 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.977e-05/0.01336, allocations: 19.86 kB / 265.1 MB, free: 9.086 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.01338, allocations: 7.984 kB / 265.1 MB, free: 9.078 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.517e-05/0.01344, allocations: 8 kB / 265.1 MB, free: 9.07 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.01349, allocations: 27.89 kB / 265.1 MB, free: 9.043 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.0135, allocations: 8 kB / 265.1 MB, free: 9.035 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.139e-05/0.01357, allocations: 155.2 kB / 265.3 MB, free: 8.883 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01357, allocations: 0 / 265.3 MB, free: 8.883 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002406/0.01381, allocations: 72 kB / 265.4 MB, free: 8.812 MB / 250.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.563e-05/0.0139, allocations: 107.1 kB / 265.5 MB, free: 8.695 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003789/0.01428, allocations: 345.5 kB / 265.8 MB, free: 8.336 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.01428, allocations: 4 kB / 265.8 MB, free: 8.332 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.01447, allocations: 285.6 kB / 266.1 MB, free: 8.031 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.01476, allocations: 44.16 kB / 266.1 MB, free: 7.988 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009352/0.0157, allocations: 0.6268 MB / 266.8 MB, free: 7.316 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.823e-05/0.01575, allocations: 92.69 kB / 266.8 MB, free: 7.207 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.489e-05/0.01581, allocations: 18.3 kB / 266.9 MB, free: 7.191 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.2e-05/0.01585, allocations: 20.5 kB / 266.9 MB, free: 7.172 MB / 250.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01585, allocations: 0 / 266.9 MB, free: 7.172 MB / 250.7 MB Notification: Performance of Templates: time 0.004497/0.02035, allocations: 2.712 MB / 269.6 MB, free: 4.484 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.6946997919585556]