Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.001769/0.001769, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002159/0.002159, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.438/1.438, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 51.92 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2283, allocations: 53.36 MB / 432.3 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002997/0.2313, allocations: 1.59 MB / 433.9 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.2323, allocations: 0.5103 MB / 434.4 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.177e-05/0.2324, allocations: 4 kB / 434.4 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.77e-05/0.2324, allocations: 11.86 kB / 434.5 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.2325, allocations: 3.938 kB / 434.5 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.2329, allocations: 63.81 kB / 434.5 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.233, allocations: 43.8 kB / 434.6 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.2331, allocations: 20.16 kB / 434.6 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.2333, allocations: 27.86 kB / 434.6 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.847e-05/0.2333, allocations: 23.86 kB / 434.6 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.2333, allocations: 8 kB / 434.6 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.909e-05/0.2334, allocations: 4 kB / 434.6 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.657e-05/0.2334, allocations: 15.92 kB / 434.7 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.196e-05/0.2334, allocations: 23.86 kB / 434.7 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.2336, allocations: 66.34 kB / 434.8 MB, free: 4.344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.2336, allocations: 0 / 434.8 MB, free: 4.344 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2336, allocations: 0 / 434.8 MB, free: 4.344 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.2336, allocations: 0 / 434.8 MB, free: 4.344 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004747/0.2341, allocations: 304.2 kB / 435 MB, free: 4.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.2341, allocations: 8.031 kB / 435.1 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.2343, allocations: 24.88 kB / 435.1 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.2345, allocations: 154.8 kB / 435.2 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.2346, allocations: 4.359 kB / 435.2 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.2346, allocations: 7.938 kB / 435.2 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.2348, allocations: 109.9 kB / 435.4 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.2349, allocations: 4 kB / 435.4 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.2349, allocations: 4 kB / 435.4 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.2349, allocations: 0 / 435.4 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.226e-05/0.235, allocations: 23.92 kB / 435.4 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002986/0.2352, allocations: 222.2 kB / 435.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.2354, allocations: 67.78 kB / 435.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.964e-05/0.2354, allocations: 30.62 kB / 435.7 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.2355, allocations: 0 / 435.7 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.2355, allocations: 46.5 kB / 435.7 MB, free: 3.199 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2355, allocations: 0 / 435.7 MB, free: 3.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002617/0.2358, allocations: 81.56 kB / 435.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.206e-05/0.2358, allocations: 110.8 kB / 435.9 MB, free: 2.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.236, allocations: 143.5 kB / 436.1 MB, free: 2.832 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.236, allocations: 29.7 kB / 436.1 MB, free: 2.797 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/0.2361, allocations: 92.06 kB / 436.2 MB, free: 2.703 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.2361, allocations: 8.375 kB / 436.2 MB, free: 2.695 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.2361, allocations: 21.67 kB / 436.2 MB, free: 2.668 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.2363, allocations: 326.7 kB / 436.5 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.259e-05/0.2363, allocations: 8 kB / 436.5 MB, free: 2.332 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.694e-05/0.2364, allocations: 35.42 kB / 436.6 MB, free: 2.285 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.804e-05/0.2365, allocations: 43.36 kB / 436.6 MB, free: 2.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2365, allocations: 0 / 436.6 MB, free: 2.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001432/0.2366, allocations: 77.61 kB / 436.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.2366, allocations: 8 kB / 436.7 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2366, allocations: 0 / 436.7 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.2367, allocations: 0 / 436.7 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.663e-05/0.2367, allocations: 8 kB / 436.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.2367, allocations: 7.938 kB / 436.7 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.116e-05/0.2368, allocations: 7.922 kB / 436.7 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.2368, allocations: 7.938 kB / 436.7 MB, free: 2.109 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 9.069e-05/0.2369, allocations: 118 kB / 436.9 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.896e-05/0.237, allocations: 57.59 kB / 436.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.842e-05/0.237, allocations: 11.97 kB / 436.9 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.237, allocations: 3.938 kB / 436.9 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.237, allocations: 0 / 436.9 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.237, allocations: 0 / 436.9 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.2372, allocations: 125.2 kB / 437 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2372, allocations: 0 / 437 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.894e-05/0.2372, allocations: 11.98 kB / 437.1 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2372, allocations: 4.062 kB / 437.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.2372, allocations: 4 kB / 437.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2372, allocations: 0 / 437.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2372, allocations: 0 / 437.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.2375, allocations: 185.1 kB / 437.2 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.086e-05/0.2375, allocations: 15.88 kB / 437.3 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.2375, allocations: 8 kB / 437.3 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.793e-05/0.2376, allocations: 0 / 437.3 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.2376, allocations: 4 kB / 437.3 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.2376, allocations: 144 / 437.3 MB, free: 1.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.374e-05/0.2377, allocations: 121.4 kB / 437.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2377, allocations: 0 / 437.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002317/0.2379, allocations: 4 kB / 437.4 MB, free: 1.379 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (4): * Single equations (assignments): 4 * 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.921e-05/0.238, allocations: 99.25 kB / 437.5 MB, free: 1.273 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001666/0.2382, allocations: 39.89 kB / 437.5 MB, free: 1.234 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2382, allocations: 0 / 437.5 MB, free: 1.234 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.602e-05/0.2382, allocations: 4.25 kB / 437.5 MB, free: 1.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.2386, allocations: 39.2 kB / 437.6 MB, free: 1.195 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000385/0.239, allocations: 210.3 kB / 437.8 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.673e-05/0.2391, allocations: 83.27 kB / 437.9 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.11e-05/0.2391, allocations: 7.438 kB / 437.9 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2391, allocations: 0 / 437.9 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of Templates: time 0.002711/0.2418, allocations: 0.8617 MB / 438.7 MB, free: 15.98 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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: 6.805037091020495]