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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001341/0.001341, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001398/0.001398, allocations: 207.8 kB / 19.25 MB, free: 3.941 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.457/1.457, allocations: 227.7 MB / 247.7 MB, free: 10.37 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.001994/0.001994, allocations: 69 kB / 307.9 MB, free: 0.5156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1119, allocations: 50.53 MB / 358.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004222/0.1162, allocations: 2.437 MB / 360.9 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.1174, allocations: 0.6621 MB / 361.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.1176, allocations: 7.938 kB / 361.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001527/0.1177, allocations: 35.66 kB / 361.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.1179, allocations: 67.36 kB / 361.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002889/0.1182, allocations: 75.83 kB / 361.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003071/0.1185, allocations: 262.8 kB / 362 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.1187, allocations: 97.33 kB / 362.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002425/0.119, allocations: 99.66 kB / 362.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.1191, allocations: 115.5 kB / 362.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.627e-05/0.1192, allocations: 20 kB / 362.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.751e-05/0.1192, allocations: 23.94 kB / 362.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.401e-05/0.1193, allocations: 47.84 kB / 362.4 MB, free: 10 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001847/0.1195, allocations: 119.4 kB / 362.5 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002999/0.1198, allocations: 263.3 kB / 362.7 MB, free: 9.629 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1198, allocations: 0 / 362.7 MB, free: 9.629 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1198, allocations: 0 / 362.7 MB, free: 9.629 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.1198, allocations: 0 / 362.7 MB, free: 9.629 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.00084/0.1207, allocations: 0.5185 MB / 363.2 MB, free: 9.059 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1207, allocations: 12.03 kB / 363.3 MB, free: 9.047 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002558/0.121, allocations: 44.55 kB / 363.3 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.1213, allocations: 247.8 kB / 363.5 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.1213, allocations: 12.81 kB / 363.6 MB, free: 8.711 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.144e-05/0.1214, allocations: 20.38 kB / 363.6 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004244/0.1218, allocations: 217.3 kB / 363.8 MB, free: 8.469 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.1218, allocations: 3.906 kB / 363.8 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.1219, allocations: 16 kB / 363.8 MB, free: 8.449 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.1219, allocations: 4 kB / 363.8 MB, free: 8.445 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003466/0.1222, allocations: 151.8 kB / 364 MB, free: 8.297 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.1235, allocations: 0.7832 MB / 364.7 MB, free: 7.445 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004196/0.1239, allocations: 205 kB / 364.9 MB, free: 7.227 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000237/0.1241, allocations: 101.7 kB / 365 MB, free: 7.121 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.1242, allocations: 4 kB / 365 MB, free: 7.117 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.1242, allocations: 38.69 kB / 365.1 MB, free: 7.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.393e-06/0.1242, allocations: 0 / 365.1 MB, free: 7.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.00165/0.1259, allocations: 0.861 MB / 365.9 MB, free: 6.121 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.447e-05/0.126, allocations: 85.11 kB / 366 MB, free: 6.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.1261, allocations: 190.9 kB / 366.2 MB, free: 5.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.1262, allocations: 25.7 kB / 366.2 MB, free: 5.789 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.941e-05/0.1263, allocations: 148.2 kB / 366.4 MB, free: 5.641 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.085e-05/0.1264, allocations: 90.66 kB / 366.5 MB, free: 5.551 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.211e-05/0.1265, allocations: 49.7 kB / 366.5 MB, free: 5.496 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1266, allocations: 338.8 kB / 366.8 MB, free: 5.156 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.1268, allocations: 59.97 kB / 366.9 MB, free: 5.098 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.127, allocations: 116.2 kB / 367 MB, free: 4.969 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003451/0.1273, allocations: 184.2 kB / 367.2 MB, free: 4.773 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.1273, allocations: 4 kB / 367.2 MB, free: 4.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004502/0.1278, allocations: 256.5 kB / 367.5 MB, free: 4.516 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.1278, allocations: 8 kB / 367.5 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1278, allocations: 80 / 367.5 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.1279, allocations: 7.984 kB / 367.5 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.1281, allocations: 64 kB / 367.5 MB, free: 4.438 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.1282, allocations: 7.984 kB / 367.5 MB, free: 4.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.1283, allocations: 11.94 kB / 367.6 MB, free: 4.418 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.1283, allocations: 8 kB / 367.6 MB, free: 4.41 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.0001345/0.1284, allocations: 145.7 kB / 367.7 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.491e-05/0.1285, allocations: 23.7 kB / 367.7 MB, free: 4.234 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.322e-05/0.1286, allocations: 25.88 kB / 367.8 MB, free: 4.207 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.1286, allocations: 7.984 kB / 367.8 MB, free: 4.199 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1286, allocations: 4 kB / 367.8 MB, free: 4.195 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.1286, allocations: 3.984 kB / 367.8 MB, free: 4.191 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009045/0.1295, allocations: 0.5781 MB / 368.3 MB, free: 3.551 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1295, allocations: 0 / 368.3 MB, free: 3.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002881/0.1298, allocations: 64 kB / 368.4 MB, free: 3.488 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.1299, allocations: 3.984 kB / 368.4 MB, free: 3.484 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.1299, allocations: 8 kB / 368.4 MB, free: 3.477 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.1299, allocations: 4 kB / 368.4 MB, free: 3.473 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.1299, allocations: 3.938 kB / 368.4 MB, free: 3.469 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007121/0.1306, allocations: 492.9 kB / 368.9 MB, free: 2.961 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-05/0.1307, allocations: 96.83 kB / 369 MB, free: 2.848 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.863e-05/0.1307, allocations: 12.03 kB / 369 MB, free: 2.836 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.1309, allocations: 8 kB / 369 MB, free: 2.828 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.628e-05/0.131, allocations: 23.91 kB / 369 MB, free: 2.805 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.131, allocations: 15.94 kB / 369.1 MB, free: 2.789 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001175/0.1312, allocations: 132.2 kB / 369.2 MB, free: 2.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1312, allocations: 0 / 369.2 MB, free: 2.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003524/0.1315, allocations: 52 kB / 369.2 MB, free: 2.609 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.0001456/0.1317, allocations: 111.1 kB / 369.3 MB, free: 2.492 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000452/0.1321, allocations: 195.9 kB / 369.5 MB, free: 2.301 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1321, allocations: 0 / 369.5 MB, free: 2.301 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.1323, allocations: 87.91 kB / 369.6 MB, free: 2.215 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005608/0.1329, allocations: 43.91 kB / 369.7 MB, free: 2.172 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.1342, allocations: 0.7169 MB / 370.4 MB, free: 1.414 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.1346, allocations: 0.744 MB / 371.1 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.118e-05/0.1347, allocations: 19.44 kB / 371.1 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1347, allocations: 8 kB / 371.2 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of Templates: time 0.1599/0.2946, allocations: 2.627 MB / 373.8 MB, free: 18.9 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (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) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/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) Reference file matches