Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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.0.0_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 186.5 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 222.9 MB / 240.9 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009547/0.0009547, allocations: 104.7 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007933/0.0007933, allocations: 43.94 kB / 350 MB, free: 64 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2165, allocations: 49.43 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003136/0.2197, allocations: 2.464 MB / 401.9 MB, free: 30.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008219/0.2205, allocations: 0.5725 MB / 402.5 MB, free: 30.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.2206, allocations: 4 kB / 402.5 MB, free: 30.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.2208, allocations: 27.77 kB / 402.5 MB, free: 30.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.2209, allocations: 59.55 kB / 402.6 MB, free: 30.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.2212, allocations: 51.94 kB / 402.6 MB, free: 30.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000228/0.2214, allocations: 242.9 kB / 402.9 MB, free: 29.94 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.2216, allocations: 85.89 kB / 403 MB, free: 29.85 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.2217, allocations: 95.59 kB / 403.1 MB, free: 29.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.2219, allocations: 107.5 kB / 403.2 MB, free: 29.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.23e-05/0.2219, allocations: 12 kB / 403.2 MB, free: 29.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.14e-05/0.2219, allocations: 16 kB / 403.2 MB, free: 29.62 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.491e-05/0.222, allocations: 39.78 kB / 403.2 MB, free: 29.58 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.78e-05/0.2221, allocations: 111.4 kB / 403.3 MB, free: 29.47 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.2223, allocations: 248.6 kB / 403.6 MB, free: 29.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2223, allocations: 4 kB / 403.6 MB, free: 29.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2223, allocations: 0 / 403.6 MB, free: 29.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.2223, allocations: 0 / 403.6 MB, free: 29.23 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.0006762/0.223, allocations: 0.5146 MB / 404.1 MB, free: 28.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/0.223, allocations: 12.03 kB / 404.1 MB, free: 28.65 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.922e-05/0.2231, allocations: 24.66 kB / 404.1 MB, free: 28.63 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.2233, allocations: 246.2 kB / 404.4 MB, free: 28.35 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.2233, allocations: 16.81 kB / 404.4 MB, free: 28.33 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.508e-05/0.2234, allocations: 20.38 kB / 404.4 MB, free: 28.31 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000319/0.2237, allocations: 217.3 kB / 404.6 MB, free: 28.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.2237, allocations: 7.906 kB / 404.6 MB, free: 28.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.2237, allocations: 8 kB / 404.6 MB, free: 28.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.2238, allocations: 4 kB / 404.6 MB, free: 28.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002503/0.224, allocations: 151.8 kB / 404.8 MB, free: 27.92 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008562/0.2249, allocations: 0.7793 MB / 405.6 MB, free: 27.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003301/0.2252, allocations: 197 kB / 405.8 MB, free: 26.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.2254, allocations: 106.5 kB / 405.9 MB, free: 26.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.2254, allocations: 4 kB / 405.9 MB, free: 26.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.413e-05/0.2255, allocations: 38.69 kB / 405.9 MB, free: 26.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 2.104e-06/0.2255, allocations: 3.984 kB / 405.9 MB, free: 26.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.001173/0.2266, allocations: 0.8642 MB / 406.8 MB, free: 25.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.2267, allocations: 89.03 kB / 406.9 MB, free: 25.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.2268, allocations: 179.5 kB / 407 MB, free: 25.46 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.2268, allocations: 33.7 kB / 407.1 MB, free: 25.42 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.2269, allocations: 136.4 kB / 407.2 MB, free: 25.28 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.195e-05/0.2269, allocations: 94.55 kB / 407.3 MB, free: 25.19 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.918e-05/0.227, allocations: 53.69 kB / 407.3 MB, free: 25.13 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.78e-05/0.2271, allocations: 330.8 kB / 407.7 MB, free: 24.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.2272, allocations: 63.95 kB / 407.7 MB, free: 24.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.2273, allocations: 108.2 kB / 407.8 MB, free: 24.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/0.2276, allocations: 190.9 kB / 408 MB, free: 24.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2276, allocations: 0 / 408 MB, free: 24.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003228/0.2279, allocations: 245.2 kB / 408.3 MB, free: 24.17 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.2279, allocations: 14.91 kB / 408.3 MB, free: 24.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.228, allocations: 0 / 408.3 MB, free: 24.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.228, allocations: 4 kB / 408.3 MB, free: 24.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.2282, allocations: 59.91 kB / 408.3 MB, free: 24.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.2282, allocations: 4 kB / 408.3 MB, free: 24.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.78e-05/0.2283, allocations: 19.89 kB / 408.4 MB, free: 24.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.2283, allocations: 12.09 kB / 408.4 MB, free: 24.06 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.357e-05/0.2284, allocations: 146.2 kB / 408.5 MB, free: 23.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.081e-05/0.2285, allocations: 15.81 kB / 408.5 MB, free: 23.89 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.682e-05/0.2285, allocations: 25.88 kB / 408.6 MB, free: 23.87 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.2286, allocations: 7.984 kB / 408.6 MB, free: 23.86 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2286, allocations: 0 / 408.6 MB, free: 23.86 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2286, allocations: 0 / 408.6 MB, free: 23.86 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005949/0.2292, allocations: 0.5951 MB / 409.2 MB, free: 23.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2292, allocations: 0 / 409.2 MB, free: 23.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002314/0.2294, allocations: 55.91 kB / 409.2 MB, free: 23.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.2294, allocations: 4 kB / 409.2 MB, free: 23.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.2295, allocations: 8 kB / 409.2 MB, free: 23.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2295, allocations: 4.094 kB / 409.2 MB, free: 23.13 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.2295, allocations: 7.938 kB / 409.2 MB, free: 23.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.2313, allocations: 1.939 MB / 411.2 MB, free: 21.03 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.303e-05/0.2313, allocations: 96.81 kB / 411.3 MB, free: 20.92 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.2314, allocations: 8 kB / 411.3 MB, free: 20.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.2315, allocations: 8 kB / 411.3 MB, free: 20.9 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.2316, allocations: 19.91 kB / 411.3 MB, free: 20.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.2316, allocations: 12 kB / 411.3 MB, free: 20.87 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.772e-05/0.2317, allocations: 136.3 kB / 411.5 MB, free: 20.74 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2317, allocations: 0 / 411.5 MB, free: 20.74 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00038/0.2321, allocations: 71.94 kB / 411.5 MB, free: 20.67 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.219e-05/0.2322, allocations: 103.2 kB / 411.6 MB, free: 20.56 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002972/0.2325, allocations: 184.4 kB / 411.8 MB, free: 20.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2325, allocations: 4.188 kB / 411.8 MB, free: 20.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.2326, allocations: 91.84 kB / 411.9 MB, free: 20.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004643/0.2331, allocations: 35.97 kB / 411.9 MB, free: 20.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000977/0.2341, allocations: 0.9732 MB / 412.9 MB, free: 19.22 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001499/0.2342, allocations: 0.7443 MB / 413.7 MB, free: 18.45 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.873e-05/0.2343, allocations: 21.95 kB / 413.7 MB, free: 18.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.239e-05/0.2344, allocations: 27.42 kB / 413.7 MB, free: 18.41 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2344, allocations: 0 / 413.7 MB, free: 18.41 MB / 298.7 MB Notification: Performance of Templates: time 0.003919/0.2383, allocations: 2.142 MB / 415.8 MB, free: 16.29 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches