Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.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.001302/0.001302, allocations: 89.45 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001386/0.001386, allocations: 157.5 kB / 23.95 MB, free: 4.152 MB / 14.72 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.469/1.469, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.1 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.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.125e-05/3.309e-05, allocations: 2.281 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004188/0.004221, allocations: 2.304 MB / 327.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.006136, allocations: 0.6353 MB / 327.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001551/0.006291, allocations: 9.156 kB / 328 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001729/0.006464, allocations: 37.95 kB / 328 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001834/0.006648, allocations: 75.59 kB / 328.1 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003901/0.007038, allocations: 75.77 kB / 328.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003588/0.007397, allocations: 270 kB / 328.4 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002034/0.0076, allocations: 63.27 kB / 328.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003543/0.007954, allocations: 160.6 kB / 328.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.008125, allocations: 81.23 kB / 328.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.366e-05/0.008168, allocations: 19.81 kB / 328.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.564e-05/0.008244, allocations: 22.25 kB / 328.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.164e-05/0.008306, allocations: 46.45 kB / 328.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.008413, allocations: 78.12 kB / 328.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003915/0.008805, allocations: 268.5 kB / 329.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.00881, allocations: 4.703 kB / 329.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.008811, allocations: 0 / 329.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.008824, allocations: 1.031 kB / 329.1 MB, free: 13.95 MB / 302.1 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.0008536/0.009677, allocations: 464.1 kB / 329.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.009716, allocations: 14.19 kB / 329.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002439/0.00996, allocations: 49.98 kB / 329.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.01032, allocations: 178.3 kB / 329.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.01035, allocations: 16.75 kB / 329.8 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-05/0.0104, allocations: 22.05 kB / 329.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000451/0.01085, allocations: 214.7 kB / 330.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.01087, allocations: 14.2 kB / 330.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.0109, allocations: 9.438 kB / 330.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.01091, allocations: 5.344 kB / 330.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003499/0.01126, allocations: 148.8 kB / 330.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.01272, allocations: 0.6591 MB / 330.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005799/0.0133, allocations: 188.9 kB / 331.1 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002714/0.01357, allocations: 96.34 kB / 331.2 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.01359, allocations: 7.375 kB / 331.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.438e-05/0.01364, allocations: 37.09 kB / 331.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.01364, allocations: 0 / 331.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.001726/0.01536, allocations: 0.7178 MB / 331.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/0.01543, allocations: 84.45 kB / 332 MB, free: 11.86 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.0156, allocations: 170.2 kB / 332.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.01562, allocations: 34.7 kB / 332.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.01573, allocations: 142.8 kB / 332.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.006e-05/0.01581, allocations: 97.31 kB / 332.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.974e-05/0.01589, allocations: 47.11 kB / 332.5 MB, free: 11.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.01606, allocations: 331.6 kB / 332.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.01621, allocations: 63.72 kB / 332.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.0164, allocations: 109.2 kB / 333 MB, free: 10.99 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/0.01676, allocations: 197.3 kB / 333.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.01676, allocations: 1 kB / 333.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004702/0.01723, allocations: 240 kB / 333.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.01725, allocations: 5.062 kB / 333.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.01726, allocations: 5.375 kB / 333.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.01728, allocations: 6.172 kB / 333.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.01755, allocations: 64.16 kB / 333.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.01756, allocations: 2.531 kB / 333.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.01767, allocations: 9.344 kB / 333.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.01769, allocations: 9.969 kB / 333.5 MB, free: 10.71 MB / 302.1 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002171/0.01791, allocations: 140.4 kB / 333.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.79e-05/0.01798, allocations: 25.75 kB / 333.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.841e-05/0.01805, allocations: 30.25 kB / 333.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.01805, allocations: 2.656 kB / 333.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.01806, allocations: 1.531 kB / 333.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.01807, allocations: 11.97 kB / 333.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008456/0.01891, allocations: 496.7 kB / 334.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.01892, allocations: 1.25 kB / 334.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002818/0.0192, allocations: 60.78 kB / 334.3 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.0192, allocations: 2.5 kB / 334.3 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.01923, allocations: 10.7 kB / 334.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.01923, allocations: 2.688 kB / 334.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.01923, allocations: 5.5 kB / 334.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007436/0.01998, allocations: 493.9 kB / 334.8 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.043e-05/0.02001, allocations: 17.73 kB / 334.8 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.846e-05/0.02005, allocations: 7.75 kB / 334.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.02022, allocations: 12.81 kB / 334.8 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.276e-05/0.02029, allocations: 23 kB / 334.8 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.0203, allocations: 10.31 kB / 334.9 MB, free: 9.684 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.02042, allocations: 119 kB / 335 MB, free: 9.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02042, allocations: 4 kB / 335 MB, free: 9.586 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003568/0.02078, allocations: 57.91 kB / 335 MB, free: 9.57 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,mass1.s,mass1.v) * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001421/0.02092, allocations: 103 kB / 335.1 MB, free: 9.477 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000414/0.02133, allocations: 176 kB / 335.3 MB, free: 9.406 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.02134, allocations: 0 / 335.3 MB, free: 9.406 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.02153, allocations: 92.11 kB / 335.4 MB, free: 9.371 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005046/0.02204, allocations: 35.78 kB / 335.4 MB, free: 9.355 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.0232, allocations: 0.5843 MB / 336 MB, free: 8.898 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001554/0.02336, allocations: 144.2 kB / 336.1 MB, free: 8.785 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.791e-05/0.02345, allocations: 21.31 kB / 336.2 MB, free: 8.777 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.78e-05/0.02351, allocations: 20.44 kB / 336.2 MB, free: 8.77 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.02351, allocations: 4 kB / 336.2 MB, free: 8.766 MB / 302.1 MB Notification: Performance of Templates: time 0.005933/0.02945, allocations: 1.972 MB / 338.2 MB, free: 7.527 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.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.3704014122486115]