Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001305/0.001305, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001421/0.001421, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.493/1.493, allocations: 230.4 MB / 251.1 MB, free: 8.457 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002643/0.002643, allocations: 75.81 kB / 368.9 MB, free: 6.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2318, allocations: 53.31 MB / 422.3 MB, free: 7.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003604/0.2354, allocations: 2.449 MB / 424.7 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.2365, allocations: 0.6544 MB / 425.4 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.2366, allocations: 4 kB / 425.4 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001448/0.2367, allocations: 43.58 kB / 425.4 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001333/0.2369, allocations: 71.34 kB / 425.5 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000293/0.2372, allocations: 75.84 kB / 425.6 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003243/0.2375, allocations: 254.9 kB / 425.8 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.2377, allocations: 69.36 kB / 425.9 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002099/0.2379, allocations: 111.6 kB / 426 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.2381, allocations: 107.5 kB / 426.1 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.402e-05/0.2381, allocations: 20 kB / 426.1 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.446e-05/0.2382, allocations: 28 kB / 426.1 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.334e-05/0.2382, allocations: 51.77 kB / 426.2 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.2383, allocations: 123.4 kB / 426.3 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003241/0.2386, allocations: 262.4 kB / 426.6 MB, free: 3.578 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.2387, allocations: 0 / 426.6 MB, free: 3.578 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2387, allocations: 0 / 426.6 MB, free: 3.578 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.2387, allocations: 0 / 426.6 MB, free: 3.578 MB / 334.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.0008059/0.2395, allocations: 0.5338 MB / 427.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.2395, allocations: 8.031 kB / 427.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002417/0.2397, allocations: 52.72 kB / 427.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.2401, allocations: 236 kB / 427.4 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.2401, allocations: 16.81 kB / 427.4 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.411e-05/0.2401, allocations: 24.33 kB / 427.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004299/0.2406, allocations: 221.2 kB / 427.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.2406, allocations: 7.984 kB / 427.6 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.2406, allocations: 8 kB / 427.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.2406, allocations: 4 kB / 427.7 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003296/0.2409, allocations: 147.9 kB / 427.8 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.2421, allocations: 0.7794 MB / 428.6 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004016/0.2426, allocations: 185 kB / 428.8 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/0.2428, allocations: 109.7 kB / 428.9 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.2428, allocations: 0 / 428.9 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/0.2428, allocations: 42.69 kB / 428.9 MB, free: 1.027 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.332e-06/0.2428, allocations: 0 / 428.9 MB, free: 1.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001574/0.2444, allocations: 0.879 MB / 429.8 MB, free: 64 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/0.2445, allocations: 77.11 kB / 429.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.2447, allocations: 178.8 kB / 430 MB, free: 15.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.2447, allocations: 33.7 kB / 430.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.48e-05/0.2448, allocations: 140.4 kB / 430.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.083e-05/0.2449, allocations: 107.1 kB / 430.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.657e-05/0.2449, allocations: 49.7 kB / 430.4 MB, free: 15.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.2451, allocations: 330.8 kB / 430.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.2452, allocations: 67.97 kB / 430.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.2454, allocations: 112.2 kB / 430.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003367/0.2458, allocations: 188.2 kB / 431 MB, free: 14.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2458, allocations: 0 / 431 MB, free: 14.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004368/0.2462, allocations: 241.4 kB / 431.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.2462, allocations: 11.88 kB / 431.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2462, allocations: 0 / 431.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.2462, allocations: 4 kB / 431.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.2465, allocations: 63.95 kB / 431.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.2465, allocations: 7.938 kB / 431.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.2466, allocations: 8 kB / 431.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.2466, allocations: 12 kB / 431.4 MB, free: 14.37 MB / 350.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.0001302/0.2468, allocations: 137.8 kB / 431.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.955e-05/0.2468, allocations: 31.84 kB / 431.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.738e-05/0.2469, allocations: 25.88 kB / 431.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.2469, allocations: 4 kB / 431.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2469, allocations: 0 / 431.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.2469, allocations: 3.984 kB / 431.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008542/0.2478, allocations: 0.5889 MB / 432.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2478, allocations: 0 / 432.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002734/0.248, allocations: 59.91 kB / 432.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.248, allocations: 4 kB / 432.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.2481, allocations: 7.984 kB / 432.2 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.2481, allocations: 4 kB / 432.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.2481, allocations: 3.938 kB / 432.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006793/0.2487, allocations: 493.1 kB / 432.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.651e-05/0.2488, allocations: 89.02 kB / 432.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.2489, allocations: 8 kB / 432.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.249, allocations: 12.03 kB / 432.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.2491, allocations: 19.92 kB / 432.9 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.2491, allocations: 19.92 kB / 432.9 MB, free: 12.76 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001113/0.2492, allocations: 132.9 kB / 433 MB, free: 12.63 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2492, allocations: 4 kB / 433 MB, free: 12.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000341/0.2496, allocations: 44 kB / 433.1 MB, free: 12.58 MB / 350.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.0001282/0.2497, allocations: 107.2 kB / 433.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004099/0.2501, allocations: 182.2 kB / 433.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2501, allocations: 0 / 433.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.2503, allocations: 87.84 kB / 433.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004679/0.2507, allocations: 44.56 kB / 433.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.2519, allocations: 0.6991 MB / 434.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.2523, allocations: 0.7479 MB / 434.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.617e-05/0.2524, allocations: 25.94 kB / 434.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.962e-05/0.2524, allocations: 19.44 kB / 435 MB, free: 10.6 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2524, allocations: 0 / 435 MB, free: 10.6 MB / 350.1 MB Notification: Performance of Templates: time 0.005562/0.258, allocations: 2.104 MB / 437.1 MB, free: 8.52 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches