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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001553/0.001553, allocations: 117.2 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001927/0.001927, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 55.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2118, allocations: 50.55 MB / 409.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003437/0.2152, allocations: 2.437 MB / 412.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.2164, allocations: 0.6544 MB / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.2166, allocations: 4 kB / 413 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.2168, allocations: 43.58 kB / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.2169, allocations: 67.36 kB / 413.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.2172, allocations: 75.89 kB / 413.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000302/0.2176, allocations: 250.8 kB / 413.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001912/0.2178, allocations: 101.3 kB / 413.5 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.218, allocations: 111.6 kB / 413.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.2181, allocations: 111.5 kB / 413.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.695e-05/0.2182, allocations: 20 kB / 413.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.084e-05/0.2183, allocations: 24 kB / 413.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.048e-05/0.2183, allocations: 47.84 kB / 413.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.2184, allocations: 123.3 kB / 414 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.2187, allocations: 260.2 kB / 414.2 MB, free: 13.24 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2187, allocations: 0 / 414.2 MB, free: 13.24 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2187, allocations: 0 / 414.2 MB, free: 13.24 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.2188, allocations: 0 / 414.2 MB, free: 13.24 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.0007665/0.2195, allocations: 0.5301 MB / 414.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.2196, allocations: 8.031 kB / 414.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002595/0.2198, allocations: 48.62 kB / 414.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.2201, allocations: 247.8 kB / 415.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.2202, allocations: 16.81 kB / 415.1 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.463e-05/0.2202, allocations: 24.38 kB / 415.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003831/0.2206, allocations: 213.3 kB / 415.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.2206, allocations: 15.91 kB / 415.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.2207, allocations: 8 kB / 415.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.2207, allocations: 4 kB / 415.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000331/0.221, allocations: 147.9 kB / 415.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.2221, allocations: 0.7753 MB / 416.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003801/0.2225, allocations: 197 kB / 416.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/0.2227, allocations: 105.7 kB / 416.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.2228, allocations: 4 kB / 416.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.2228, allocations: 46.62 kB / 416.6 MB, free: 10.67 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.593e-06/0.2228, allocations: 0 / 416.6 MB, free: 10.67 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001497/0.2243, allocations: 0.863 MB / 417.5 MB, free: 9.719 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.2244, allocations: 81.11 kB / 417.5 MB, free: 9.621 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.2245, allocations: 175.5 kB / 417.7 MB, free: 9.438 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.2246, allocations: 33.7 kB / 417.7 MB, free: 9.398 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.965e-05/0.2246, allocations: 140.3 kB / 417.9 MB, free: 9.258 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.334e-05/0.2247, allocations: 98.56 kB / 418 MB, free: 9.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.667e-05/0.2248, allocations: 45.7 kB / 418 MB, free: 9.109 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.2249, allocations: 334.8 kB / 418.3 MB, free: 8.773 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.2251, allocations: 63.97 kB / 418.4 MB, free: 8.711 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.2252, allocations: 112.2 kB / 418.5 MB, free: 8.586 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003202/0.2256, allocations: 194.6 kB / 418.7 MB, free: 8.383 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2256, allocations: 0 / 418.7 MB, free: 8.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004155/0.226, allocations: 245.1 kB / 419 MB, free: 8.137 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.226, allocations: 4 kB / 419 MB, free: 8.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.226, allocations: 12.03 kB / 419 MB, free: 8.121 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.226, allocations: 0 / 419 MB, free: 8.121 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002527/0.2263, allocations: 63.89 kB / 419 MB, free: 8.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.2263, allocations: 4 kB / 419 MB, free: 8.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.2264, allocations: 8 kB / 419 MB, free: 8.047 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.2265, allocations: 12 kB / 419.1 MB, free: 8.035 MB / 334.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.0001115/0.2266, allocations: 141.7 kB / 419.2 MB, free: 7.887 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.567e-05/0.2267, allocations: 27.73 kB / 419.2 MB, free: 7.859 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.845e-05/0.2267, allocations: 29.88 kB / 419.2 MB, free: 7.828 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2267, allocations: 0 / 419.2 MB, free: 7.828 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2267, allocations: 3.984 kB / 419.3 MB, free: 7.824 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.92e-05/0.2268, allocations: 96.83 kB / 419.3 MB, free: 7.711 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.116e-05/0.2268, allocations: 11.98 kB / 419.4 MB, free: 7.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.227, allocations: 8 kB / 419.4 MB, free: 7.691 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.2271, allocations: 19.91 kB / 419.4 MB, free: 7.672 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006362/0.2277, allocations: 396.4 kB / 419.8 MB, free: 7.277 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006258/0.2283, allocations: 0.5523 MB / 420.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001658/0.2285, allocations: 98.62 kB / 420.4 MB, free: 6.613 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.731e-05/0.2286, allocations: 132.2 kB / 420.5 MB, free: 6.484 MB / 334.1 MB Notification: Performance of Backend: time 3.31e-07/0.2286, allocations: 0 / 420.5 MB, free: 6.484 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006314/0.2293, allocations: 200.4 kB / 420.7 MB, free: 6.281 MB / 334.1 MB Notification: Performance of SimCode: time 0.001089/0.2304, allocations: 1.084 MB / 421.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of Templates: time 0.005319/0.2357, allocations: 2.514 MB / 424.3 MB, free: 2.656 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches