Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002153/0.002153, allocations: 210.9 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.485/1.485, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 43.92 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2088, allocations: 53.36 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003537/0.2123, allocations: 2.294 MB / 434.6 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.2134, allocations: 0.6426 MB / 435.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.2135, allocations: 7.938 kB / 435.3 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.2136, allocations: 39.64 kB / 435.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001368/0.2138, allocations: 63.36 kB / 435.4 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.214, allocations: 79.83 kB / 435.4 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002984/0.2143, allocations: 254.8 kB / 435.7 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.2145, allocations: 77.28 kB / 435.8 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.2147, allocations: 111.6 kB / 435.9 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.2149, allocations: 107.5 kB / 436 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.56e-05/0.2149, allocations: 23.94 kB / 436 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.703e-05/0.215, allocations: 24 kB / 436 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.486e-05/0.215, allocations: 51.78 kB / 436.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.2151, allocations: 99.58 kB / 436.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000311/0.2154, allocations: 257.9 kB / 436.4 MB, free: 2.609 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2154, allocations: 4 kB / 436.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2154, allocations: 0 / 436.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.2154, allocations: 4 kB / 436.4 MB, free: 2.602 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.0007737/0.2162, allocations: 467.9 kB / 436.9 MB, free: 2.117 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.2162, allocations: 8.031 kB / 436.9 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002545/0.2165, allocations: 44.73 kB / 436.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.2168, allocations: 194.9 kB / 437.1 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.2168, allocations: 16.8 kB / 437.1 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.003e-05/0.2168, allocations: 24.33 kB / 437.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004207/0.2173, allocations: 217.3 kB / 437.4 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.2173, allocations: 0 / 437.4 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.2173, allocations: 12 kB / 437.4 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.2173, allocations: 4 kB / 437.4 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003284/0.2176, allocations: 149.9 kB / 437.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.2188, allocations: 0.6659 MB / 438.2 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003973/0.2192, allocations: 189 kB / 438.4 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002244/0.2194, allocations: 89.67 kB / 438.5 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.2194, allocations: 4 kB / 438.5 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.2194, allocations: 42.56 kB / 438.5 MB, free: 372 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.433e-06/0.2194, allocations: 3.938 kB / 438.5 MB, free: 368 kB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001554/0.221, allocations: 0.7172 MB / 439.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.221, allocations: 81.11 kB / 439.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.2212, allocations: 167.3 kB / 439.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.2212, allocations: 29.7 kB / 439.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.899e-05/0.2213, allocations: 156.3 kB / 439.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.703e-05/0.2214, allocations: 95.16 kB / 439.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.335e-05/0.2215, allocations: 49.7 kB / 439.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.2216, allocations: 330.8 kB / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.2218, allocations: 63.97 kB / 440.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.2219, allocations: 109.3 kB / 440.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/0.2223, allocations: 192.2 kB / 440.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.2223, allocations: 0 / 440.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004471/0.2227, allocations: 248.4 kB / 440.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.2228, allocations: 6.656 kB / 440.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.2228, allocations: 0 / 440.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.2228, allocations: 4 kB / 440.7 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.223, allocations: 60 kB / 440.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.2231, allocations: 11.98 kB / 440.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.2232, allocations: 15.88 kB / 440.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.2232, allocations: 12 kB / 440.8 MB, free: 13.91 MB / 350.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.0001265/0.2233, allocations: 137.7 kB / 441 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-05/0.2234, allocations: 31.8 kB / 441 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.881e-05/0.2234, allocations: 29.8 kB / 441 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.2235, allocations: 4 kB / 441 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2235, allocations: 0 / 441 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2235, allocations: 0 / 441 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008092/0.2243, allocations: 0.491 MB / 441.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2243, allocations: 0 / 441.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002974/0.2246, allocations: 63.91 kB / 441.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.2246, allocations: 0 / 441.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.2246, allocations: 4 kB / 441.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2246, allocations: 0 / 441.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.2246, allocations: 7.984 kB / 441.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006889/0.2253, allocations: 0.4893 MB / 442.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.253e-05/0.2253, allocations: 19.86 kB / 442.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.2253, allocations: 4 kB / 442.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.2255, allocations: 8.031 kB / 442.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.2256, allocations: 23.91 kB / 442.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.2256, allocations: 12 kB / 442.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.721e-05/0.2257, allocations: 123.2 kB / 442.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2257, allocations: 0 / 442.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000345/0.226, allocations: 51.94 kB / 442.3 MB, free: 12.34 MB / 350.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.0001057/0.2261, allocations: 107.2 kB / 442.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003889/0.2265, allocations: 171.7 kB / 442.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2265, allocations: 0 / 442.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.2267, allocations: 91.83 kB / 442.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004693/0.2272, allocations: 36.45 kB / 442.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.2284, allocations: 0.6991 MB / 443.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.2285, allocations: 133.9 kB / 443.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.979e-05/0.2286, allocations: 25.94 kB / 443.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.024e-05/0.2286, allocations: 19.44 kB / 443.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2286, allocations: 3.938 kB / 443.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of Templates: time 0.005628/0.2343, allocations: 2.306 MB / 445.9 MB, free: 8.711 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.26541931500833]