Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002686/0.002693, allocations: 183.5 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.31/3.31, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00154/0.001539, allocations: 89.56 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006142/0.0006142, allocations: 8 kB / 327 MB, free: 224 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5027/0.5033, allocations: 47.56 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004673/0.5081, allocations: 1.936 MB / 376.5 MB, free: 43.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002043/0.5103, allocations: 0.6015 MB / 377.1 MB, free: 43.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002773/0.5106, allocations: 3.656 kB / 377.1 MB, free: 43.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.5107, allocations: 32.02 kB / 377.1 MB, free: 43.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004189/0.5112, allocations: 78.23 kB / 377.2 MB, free: 43.35 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.5116, allocations: 46.56 kB / 377.2 MB, free: 43.31 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005922/0.5122, allocations: 169.7 kB / 377.4 MB, free: 43.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000328/0.5126, allocations: 70.88 kB / 377.5 MB, free: 43.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003118/0.5129, allocations: 85.47 kB / 377.5 MB, free: 43.13 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002606/0.5132, allocations: 90.88 kB / 377.6 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.595e-05/0.5133, allocations: 10.31 kB / 377.6 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.462e-05/0.5134, allocations: 11.59 kB / 377.6 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.981e-05/0.5134, allocations: 37.98 kB / 377.7 MB, free: 43.04 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.5136, allocations: 65.52 kB / 377.7 MB, free: 42.99 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003939/0.514, allocations: 176 kB / 377.9 MB, free: 42.86 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.514, allocations: 0 / 377.9 MB, free: 42.86 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.514, allocations: 4.969 kB / 377.9 MB, free: 42.86 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.514, allocations: 0 / 377.9 MB, free: 42.86 MB / 298.7 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.001332/0.5154, allocations: 0.5005 MB / 378.4 MB, free: 42.38 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.68e-05/0.5155, allocations: 8.719 kB / 378.4 MB, free: 42.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.5157, allocations: 24.41 kB / 378.5 MB, free: 42.37 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004328/0.5161, allocations: 235.4 kB / 378.7 MB, free: 42.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.929e-05/0.5162, allocations: 15.78 kB / 378.7 MB, free: 42.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.111e-05/0.5163, allocations: 21.97 kB / 378.7 MB, free: 42.1 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008833/0.5172, allocations: 222.1 kB / 378.9 MB, free: 41.95 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/0.5172, allocations: 1.031 kB / 378.9 MB, free: 41.95 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.289e-05/0.5173, allocations: 10.27 kB / 379 MB, free: 41.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.5173, allocations: 5.562 kB / 379 MB, free: 41.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007909/0.5181, allocations: 144.7 kB / 379.1 MB, free: 41.89 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002451/0.5206, allocations: 0.808 MB / 379.9 MB, free: 41.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000891/0.5216, allocations: 200.9 kB / 380.1 MB, free: 41.05 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.506e-05/0.5217, allocations: 3.281 kB / 380.1 MB, free: 41.05 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.5217, allocations: 43.44 kB / 380.1 MB, free: 41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 4.408e-06/0.5217, allocations: 1.25 kB / 380.1 MB, free: 41 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.003409/0.5251, allocations: 0.876 MB / 381 MB, free: 40.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.5253, allocations: 88.3 kB / 381.1 MB, free: 40.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003237/0.5256, allocations: 180.3 kB / 381.3 MB, free: 40.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.179e-05/0.5257, allocations: 30.73 kB / 381.3 MB, free: 40.04 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.5258, allocations: 204.3 kB / 381.5 MB, free: 39.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.526, allocations: 94.67 kB / 381.6 MB, free: 39.76 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.526, allocations: 5.25 kB / 381.6 MB, free: 39.76 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5261, allocations: 320.9 kB / 381.9 MB, free: 39.44 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003925/0.5265, allocations: 74.86 kB / 382 MB, free: 39.4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003923/0.5269, allocations: 113.7 kB / 382.1 MB, free: 39.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004047/0.5274, allocations: 82.08 kB / 382.2 MB, free: 39.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.74e-05/0.5274, allocations: 1.312 kB / 382.2 MB, free: 39.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001043/0.5285, allocations: 228.9 kB / 382.4 MB, free: 39.17 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.815e-05/0.5286, allocations: 13.7 kB / 382.4 MB, free: 39.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.5286, allocations: 5.094 kB / 382.4 MB, free: 39.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.43e-05/0.5286, allocations: 6.609 kB / 382.4 MB, free: 39.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000635/0.5293, allocations: 64.59 kB / 382.5 MB, free: 39.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/0.5293, allocations: 6.906 kB / 382.5 MB, free: 39.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003399/0.5297, allocations: 19.44 kB / 382.5 MB, free: 39.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.044e-05/0.5297, allocations: 10.72 kB / 382.5 MB, free: 39.12 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002358/0.53, allocations: 146.8 kB / 382.7 MB, free: 38.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.5301, allocations: 18.75 kB / 382.7 MB, free: 38.97 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.5303, allocations: 25.94 kB / 382.7 MB, free: 38.95 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.5303, allocations: 7.141 kB / 382.7 MB, free: 38.94 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.5303, allocations: 1.031 kB / 382.7 MB, free: 38.94 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.5304, allocations: 3.984 kB / 382.7 MB, free: 38.94 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.5322, allocations: 0.5859 MB / 383.3 MB, free: 38.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.5323, allocations: 0.75 kB / 383.3 MB, free: 38.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007389/0.5331, allocations: 58.97 kB / 383.4 MB, free: 38.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-05/0.5331, allocations: 6.047 kB / 383.4 MB, free: 38.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.868e-05/0.5332, allocations: 10.19 kB / 383.4 MB, free: 38.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.251e-05/0.5332, allocations: 6.172 kB / 383.4 MB, free: 38.39 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.5332, allocations: 7.141 kB / 383.4 MB, free: 38.39 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.5347, allocations: 0.5296 MB / 383.9 MB, free: 37.97 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.5349, allocations: 99.61 kB / 384 MB, free: 37.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.481e-05/0.535, allocations: 6.75 kB / 384 MB, free: 37.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004872/0.5355, allocations: 18.69 kB / 384.1 MB, free: 37.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.5357, allocations: 16.78 kB / 384.1 MB, free: 37.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.87e-05/0.5357, allocations: 14.11 kB / 384.1 MB, free: 37.83 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002132/0.5359, allocations: 126.8 kB / 384.2 MB, free: 37.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.52e-07/0.536, allocations: 1.094 kB / 384.2 MB, free: 37.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009295/0.5369, allocations: 50.03 kB / 384.3 MB, free: 37.72 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001963/0.5371, allocations: 101.5 kB / 384.4 MB, free: 37.63 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009896/0.5381, allocations: 196.6 kB / 384.6 MB, free: 37.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.5382, allocations: 3.938 kB / 384.6 MB, free: 37.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004288/0.5386, allocations: 100.9 kB / 384.7 MB, free: 37.51 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009115/0.5395, allocations: 31.19 kB / 384.7 MB, free: 37.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002756/0.5423, allocations: 0.8599 MB / 385.6 MB, free: 36.8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.5428, allocations: 0.758 MB / 386.3 MB, free: 36.06 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.543, allocations: 24.78 kB / 386.3 MB, free: 36.05 MB / 298.7 MB Notification: Performance of SimCode: time 1.573e-06/0.543, allocations: 0 / 386.3 MB, free: 36.05 MB / 298.7 MB Notification: Performance of Templates: time 0.01012/0.5531, allocations: 2.53 MB / 388.9 MB, free: 33.96 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches