Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.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.002531/0.002531, allocations: 95.59 kB / 20.97 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.00237/0.00237, allocations: 156.9 kB / 24.27 MB, free: 152 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.535/1.535, allocations: 177 MB / 204.5 MB, free: 5.594 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.First,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.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_trunk_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.133e-05/3.322e-05, allocations: 2.312 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.00619/0.006223, allocations: 2.368 MB / 274.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.008114, allocations: 0.6271 MB / 275.2 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001981/0.008312, allocations: 7.938 kB / 275.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001964/0.008508, allocations: 35.59 kB / 275.2 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002963/0.008805, allocations: 87.27 kB / 275.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003356/0.00914, allocations: 71.83 kB / 275.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005383/0.009679, allocations: 282.5 kB / 275.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002585/0.009937, allocations: 71.28 kB / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004763/0.01041, allocations: 171.5 kB / 275.9 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002351/0.01065, allocations: 83.77 kB / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.269e-05/0.01071, allocations: 20 kB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.01082, allocations: 27.94 kB / 276 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.194e-05/0.0109, allocations: 55.77 kB / 276.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.01108, allocations: 83.83 kB / 276.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005583/0.01164, allocations: 271.1 kB / 276.4 MB, free: 13.53 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.01164, allocations: 0 / 276.4 MB, free: 13.53 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.01164, allocations: 0 / 276.4 MB, free: 13.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.01165, allocations: 0 / 276.4 MB, free: 13.53 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.001247/0.0129, allocations: 0.5659 MB / 277 MB, free: 12.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.151e-05/0.01297, allocations: 15.98 kB / 277 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002902/0.01326, allocations: 60.73 kB / 277.1 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004503/0.01371, allocations: 184.9 kB / 277.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.01375, allocations: 20.88 kB / 277.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.948e-05/0.01382, allocations: 20.38 kB / 277.3 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005557/0.01437, allocations: 184.7 kB / 277.5 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.012e-05/0.0144, allocations: 8.125 kB / 277.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.646e-05/0.01444, allocations: 12.38 kB / 277.5 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.01445, allocations: 7.938 kB / 277.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004623/0.01491, allocations: 137.9 kB / 277.6 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.01648, allocations: 0.5912 MB / 278.2 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005211/0.017, allocations: 177.9 kB / 278.4 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002688/0.01727, allocations: 95.58 kB / 278.5 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.695e-05/0.01731, allocations: 4 kB / 278.5 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.723e-05/0.01736, allocations: 45.39 kB / 278.5 MB, free: 11.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 2.154e-06/0.01736, allocations: 0 / 278.5 MB, free: 11.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.002963/0.02032, allocations: 0.9448 MB / 279.5 MB, free: 10.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.02038, allocations: 55.41 kB / 279.5 MB, free: 10.22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003171/0.0207, allocations: 234.6 kB / 279.8 MB, free: 9.973 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.931e-05/0.02074, allocations: 29.7 kB / 279.8 MB, free: 9.938 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.02092, allocations: 191.5 kB / 280 MB, free: 9.746 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/0.02108, allocations: 123 kB / 280.1 MB, free: 9.625 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.02123, allocations: 67.36 kB / 280.2 MB, free: 9.551 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003722/0.0216, allocations: 0.5196 MB / 280.7 MB, free: 9.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.02183, allocations: 67.97 kB / 280.8 MB, free: 8.953 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003053/0.02214, allocations: 123 kB / 280.9 MB, free: 8.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005737/0.02271, allocations: 212.6 kB / 281.1 MB, free: 8.602 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.02271, allocations: 0 / 281.1 MB, free: 8.602 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008813/0.02359, allocations: 306 kB / 281.4 MB, free: 8.293 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.02362, allocations: 12 kB / 281.4 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.02362, allocations: 0 / 281.4 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003002/0.02392, allocations: 47.67 kB / 281.4 MB, free: 8.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003881/0.02431, allocations: 59.91 kB / 281.5 MB, free: 8.172 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003023/0.02733, allocations: 2.235 MB / 283.7 MB, free: 5.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.02752, allocations: 4 kB / 283.7 MB, free: 5.816 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.02754, allocations: 12 kB / 283.7 MB, free: 5.805 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.0002535/0.0278, allocations: 188.5 kB / 283.9 MB, free: 5.609 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.0279, allocations: 31.86 kB / 284 MB, free: 5.578 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.891e-05/0.028, allocations: 30.66 kB / 284 MB, free: 5.547 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.02801, allocations: 4 kB / 284 MB, free: 5.543 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.02801, allocations: 3.938 kB / 284 MB, free: 5.539 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.02802, allocations: 3.984 kB / 284 MB, free: 5.535 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/0.02996, allocations: 0.7803 MB / 284.8 MB, free: 4.691 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.02997, allocations: 4 kB / 284.8 MB, free: 4.688 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004469/0.03042, allocations: 59.91 kB / 284.8 MB, free: 4.629 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002062/0.03062, allocations: 35.66 kB / 284.9 MB, free: 4.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.03065, allocations: 12.09 kB / 284.9 MB, free: 4.578 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002379/0.03303, allocations: 1.885 MB / 286.8 MB, free: 2.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.03304, allocations: 4 kB / 286.8 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.03426, allocations: 0.538 MB / 287.3 MB, free: 1.992 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.672e-05/0.03431, allocations: 19.91 kB / 287.3 MB, free: 1.973 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.665e-05/0.03436, allocations: 16.03 kB / 287.4 MB, free: 1.957 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.03457, allocations: 4 kB / 287.4 MB, free: 1.953 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.714e-05/0.03467, allocations: 35.83 kB / 287.4 MB, free: 1.918 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.03469, allocations: 4 kB / 287.4 MB, free: 1.914 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002102/0.0349, allocations: 171.2 kB / 287.6 MB, free: 1.746 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0349, allocations: 0 / 287.6 MB, free: 1.746 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007052/0.03561, allocations: 64 kB / 287.6 MB, free: 1.684 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.0001885/0.03579, allocations: 107.2 kB / 287.7 MB, free: 1.566 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.03681, allocations: 409.8 kB / 288.1 MB, free: 1.145 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.03681, allocations: 4 kB / 288.1 MB, free: 1.141 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006386/0.03745, allocations: 310.3 kB / 288.4 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006728/0.03812, allocations: 40.22 kB / 288.5 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.03979, allocations: 0.6671 MB / 289.1 MB, free: 68 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.04003, allocations: 142.9 kB / 289.3 MB, free: 15.9 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.04015, allocations: 30.27 kB / 289.3 MB, free: 15.87 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.996e-05/0.04023, allocations: 20.5 kB / 289.3 MB, free: 15.85 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.04023, allocations: 0 / 289.3 MB, free: 15.85 MB / 282.7 MB Notification: Performance of Templates: time 0.007715/0.04794, allocations: 2.704 MB / 292 MB, free: 13.18 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.531844486948103]