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.00168/0.001679, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001929/0.001929, allocations: 212 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 227.4 MB / 247.4 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 56.03 kB / 307.6 MB, free: 0.6719 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08586/0.0871, allocations: 50.53 MB / 358.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003569/0.09071, allocations: 2.435 MB / 360.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.09194, allocations: 0.6621 MB / 361.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.09211, allocations: 4 kB / 361.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.09228, allocations: 39.58 kB / 361.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001485/0.09244, allocations: 63.42 kB / 361.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.09272, allocations: 79.83 kB / 361.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002759/0.09301, allocations: 254.9 kB / 361.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/0.0932, allocations: 101.3 kB / 361.8 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002099/0.09342, allocations: 111.6 kB / 361.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.09359, allocations: 107.5 kB / 362 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.598e-05/0.09363, allocations: 20 kB / 362 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.874e-05/0.09371, allocations: 24 kB / 362 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.95e-05/0.09375, allocations: 47.84 kB / 362.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.09386, allocations: 119.4 kB / 362.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.09412, allocations: 259.3 kB / 362.4 MB, free: 9.816 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.09413, allocations: 0 / 362.4 MB, free: 9.816 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.09414, allocations: 4 kB / 362.4 MB, free: 9.812 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.09415, allocations: 0 / 362.4 MB, free: 9.812 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.0007148/0.09487, allocations: 0.5185 MB / 363 MB, free: 9.242 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.09491, allocations: 8.031 kB / 363 MB, free: 9.234 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002345/0.09515, allocations: 48.53 kB / 363 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.09538, allocations: 243.8 kB / 363.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.09541, allocations: 16.75 kB / 363.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.935e-05/0.09546, allocations: 28.38 kB / 363.3 MB, free: 8.867 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000372/0.09583, allocations: 213.3 kB / 363.5 MB, free: 8.648 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.09586, allocations: 3.906 kB / 363.5 MB, free: 8.645 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.09589, allocations: 15.98 kB / 363.5 MB, free: 8.629 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.0959, allocations: 4 kB / 363.5 MB, free: 8.625 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003029/0.09621, allocations: 143.9 kB / 363.7 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.09726, allocations: 0.787 MB / 364.5 MB, free: 7.629 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003775/0.09765, allocations: 197 kB / 364.7 MB, free: 7.418 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/0.09788, allocations: 109.7 kB / 364.8 MB, free: 7.305 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.09791, allocations: 4 kB / 364.8 MB, free: 7.301 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.09794, allocations: 38.69 kB / 364.8 MB, free: 7.254 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.09794, allocations: 0 / 364.8 MB, free: 7.254 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.001455/0.0994, allocations: 0.8615 MB / 365.7 MB, free: 6.305 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.09946, allocations: 89.03 kB / 365.8 MB, free: 6.199 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.09962, allocations: 178.6 kB / 365.9 MB, free: 6.012 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.09965, allocations: 33.7 kB / 366 MB, free: 5.973 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.314e-05/0.09974, allocations: 148.3 kB / 366.1 MB, free: 5.824 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.239e-05/0.09981, allocations: 90.66 kB / 366.2 MB, free: 5.734 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.339e-05/0.09989, allocations: 53.64 kB / 366.2 MB, free: 5.676 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.955e-05/0.1, allocations: 330.8 kB / 366.6 MB, free: 5.344 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.1001, allocations: 63.97 kB / 366.6 MB, free: 5.281 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.1003, allocations: 116.2 kB / 366.7 MB, free: 5.152 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003146/0.1006, allocations: 182.6 kB / 366.9 MB, free: 4.961 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1007, allocations: 0 / 366.9 MB, free: 4.961 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004128/0.1011, allocations: 261.1 kB / 367.2 MB, free: 4.699 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.1011, allocations: 4 kB / 367.2 MB, free: 4.695 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.1011, allocations: 4 kB / 367.2 MB, free: 4.691 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.1011, allocations: 0 / 367.2 MB, free: 4.691 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.1014, allocations: 59.91 kB / 367.2 MB, free: 4.633 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.1014, allocations: 4 kB / 367.2 MB, free: 4.629 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.1015, allocations: 15.92 kB / 367.3 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.1015, allocations: 12 kB / 367.3 MB, free: 4.602 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.0001132/0.1016, allocations: 145.8 kB / 367.4 MB, free: 4.449 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.081e-05/0.1017, allocations: 23.72 kB / 367.4 MB, free: 4.426 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.567e-05/0.1018, allocations: 29.86 kB / 367.5 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1018, allocations: 7.938 kB / 367.5 MB, free: 4.387 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.1018, allocations: 0 / 367.5 MB, free: 4.387 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1018, allocations: 0 / 367.5 MB, free: 4.387 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007618/0.1026, allocations: 0.5852 MB / 368.1 MB, free: 3.738 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1026, allocations: 0 / 368.1 MB, free: 3.738 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002607/0.1028, allocations: 55.91 kB / 368.1 MB, free: 3.684 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.1029, allocations: 4 kB / 368.1 MB, free: 3.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.1029, allocations: 8 kB / 368.1 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1029, allocations: 0 / 368.1 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.1029, allocations: 16.02 kB / 368.1 MB, free: 3.656 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006048/0.1035, allocations: 490.7 kB / 368.6 MB, free: 3.152 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.513e-05/0.1036, allocations: 100.8 kB / 368.7 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.1036, allocations: 8 kB / 368.7 MB, free: 3.027 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.1038, allocations: 12.03 kB / 368.7 MB, free: 3.016 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.1039, allocations: 19.92 kB / 368.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.1039, allocations: 4 kB / 368.8 MB, free: 2.992 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.975e-05/0.104, allocations: 140.9 kB / 368.9 MB, free: 2.855 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.104, allocations: 3.938 kB / 368.9 MB, free: 2.852 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003323/0.1043, allocations: 52 kB / 369 MB, free: 2.801 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.0001034/0.1044, allocations: 111.1 kB / 369.1 MB, free: 2.684 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003891/0.1048, allocations: 194.3 kB / 369.3 MB, free: 2.496 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1048, allocations: 0 / 369.3 MB, free: 2.496 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.105, allocations: 96.38 kB / 369.3 MB, free: 2.402 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005051/0.1055, allocations: 44.59 kB / 369.4 MB, free: 2.359 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.1067, allocations: 0.7129 MB / 370.1 MB, free: 1.605 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.107, allocations: 0.748 MB / 370.9 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.107, allocations: 23.44 kB / 370.9 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.107, allocations: 0 / 370.9 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of Templates: time 0.166/0.273, allocations: 2.637 MB / 373.5 MB, free: 19.66 MB / 302.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