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.001609/0.00161, allocations: 113.7 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001998/0.001999, allocations: 208.9 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.247/2.247, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 59.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3074, allocations: 50.54 MB / 409.9 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004427/0.3119, allocations: 2.441 MB / 412.4 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.3132, allocations: 0.6505 MB / 413 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.3133, allocations: 7.938 kB / 413 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.3135, allocations: 43.64 kB / 413.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.3136, allocations: 67.34 kB / 413.1 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.314, allocations: 75.83 kB / 413.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000312/0.3143, allocations: 254.8 kB / 413.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/0.3145, allocations: 101.3 kB / 413.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000215/0.3147, allocations: 99.64 kB / 413.6 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.3149, allocations: 119.4 kB / 413.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.26e-05/0.3149, allocations: 20 kB / 413.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.858e-05/0.315, allocations: 32 kB / 413.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.053e-05/0.3151, allocations: 39.84 kB / 413.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.3152, allocations: 119.4 kB / 414 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003078/0.3155, allocations: 260.2 kB / 414.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3155, allocations: 0 / 414.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3155, allocations: 0 / 414.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.3155, allocations: 0 / 414.2 MB, free: 13.3 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.0008181/0.3164, allocations: 0.534 MB / 414.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.3164, allocations: 8.031 kB / 414.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002397/0.3167, allocations: 44.62 kB / 414.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004134/0.3171, allocations: 251.7 kB / 415 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.3171, allocations: 16.81 kB / 415.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.632e-05/0.3172, allocations: 16.38 kB / 415.1 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004382/0.3176, allocations: 225.3 kB / 415.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.3177, allocations: 3.984 kB / 415.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.3177, allocations: 4 kB / 415.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.3177, allocations: 8 kB / 415.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003548/0.3181, allocations: 147.8 kB / 415.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.3193, allocations: 0.7792 MB / 416.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004488/0.3197, allocations: 197 kB / 416.4 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002517/0.32, allocations: 113.8 kB / 416.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.32, allocations: 4 kB / 416.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.3201, allocations: 38.69 kB / 416.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.593e-06/0.3201, allocations: 4 kB / 416.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.00171/0.3218, allocations: 0.8616 MB / 417.5 MB, free: 9.777 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/0.3219, allocations: 77.11 kB / 417.5 MB, free: 9.684 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.3221, allocations: 179.5 kB / 417.7 MB, free: 9.496 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.3221, allocations: 33.64 kB / 417.7 MB, free: 9.457 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.3222, allocations: 148.3 kB / 417.9 MB, free: 9.309 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.229e-05/0.3223, allocations: 98.55 kB / 418 MB, free: 9.211 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.225e-05/0.3224, allocations: 49.7 kB / 418 MB, free: 9.156 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3225, allocations: 330.8 kB / 418.3 MB, free: 8.824 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.3227, allocations: 63.97 kB / 418.4 MB, free: 8.762 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.3229, allocations: 116.2 kB / 418.5 MB, free: 8.633 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/0.3232, allocations: 194.7 kB / 418.7 MB, free: 8.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3232, allocations: 0 / 418.7 MB, free: 8.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004414/0.3237, allocations: 247.9 kB / 419 MB, free: 8.184 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.3237, allocations: 4 kB / 419 MB, free: 8.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3237, allocations: 0 / 419 MB, free: 8.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.3237, allocations: 4 kB / 419 MB, free: 8.176 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.324, allocations: 67.89 kB / 419 MB, free: 8.109 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.324, allocations: 0 / 419 MB, free: 8.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.3241, allocations: 12 kB / 419 MB, free: 8.098 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.3242, allocations: 8 kB / 419 MB, free: 8.09 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.0001301/0.3243, allocations: 149.7 kB / 419.2 MB, free: 7.934 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.359e-05/0.3244, allocations: 23.8 kB / 419.2 MB, free: 7.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.792e-05/0.3244, allocations: 29.81 kB / 419.2 MB, free: 7.879 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.3244, allocations: 4 kB / 419.3 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3245, allocations: 0 / 419.3 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.3245, allocations: 3.984 kB / 419.3 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.3255, allocations: 0.5825 MB / 419.8 MB, free: 7.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.3255, allocations: 4 kB / 419.8 MB, free: 7.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002862/0.3258, allocations: 59.91 kB / 419.9 MB, free: 7.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.3258, allocations: 0 / 419.9 MB, free: 7.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/0.3259, allocations: 11.98 kB / 419.9 MB, free: 7.148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.3259, allocations: 4 kB / 419.9 MB, free: 7.145 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.3259, allocations: 3.938 kB / 419.9 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007464/0.3266, allocations: 496.9 kB / 420.4 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.275e-05/0.3267, allocations: 88.92 kB / 420.5 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.3268, allocations: 12 kB / 420.5 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.3269, allocations: 12.03 kB / 420.5 MB, free: 6.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/0.327, allocations: 15.92 kB / 420.5 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.327, allocations: 19.92 kB / 420.6 MB, free: 6.465 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001093/0.3271, allocations: 132.2 kB / 420.7 MB, free: 6.336 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3271, allocations: 0 / 420.7 MB, free: 6.336 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003513/0.3275, allocations: 48 kB / 420.7 MB, free: 6.289 MB / 334.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.0001634/0.3277, allocations: 111.2 kB / 420.8 MB, free: 6.168 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004205/0.3281, allocations: 183.7 kB / 421 MB, free: 5.988 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.3281, allocations: 0 / 421 MB, free: 5.988 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.3283, allocations: 91.84 kB / 421.1 MB, free: 5.898 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004944/0.3288, allocations: 47.95 kB / 421.2 MB, free: 5.855 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.3301, allocations: 0.7244 MB / 421.9 MB, free: 5.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.3304, allocations: 0.748 MB / 422.6 MB, free: 4.312 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.39e-05/0.3305, allocations: 19.44 kB / 422.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3305, allocations: 0 / 422.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of Templates: time 0.004848/0.3354, allocations: 2.676 MB / 425.3 MB, free: 1.617 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