Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001275/0.001275, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001511/0.001511, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.013/1.013, allocations: 177 MB / 204.8 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 179] 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.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.78e-05/2.951e-05, allocations: 9.203 kB / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.002999/0.003028, allocations: 1.619 MB / 274.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.004043, allocations: 0.5181 MB / 275.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.004152, allocations: 3.938 kB / 275.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.128e-05/0.004234, allocations: 3.938 kB / 275.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.004439, allocations: 23.84 kB / 275.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.004854, allocations: 47.83 kB / 275.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.004993, allocations: 39.8 kB / 275.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.005123, allocations: 11.98 kB / 275.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.005315, allocations: 31.84 kB / 275.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.371e-05/0.005368, allocations: 15.92 kB / 275.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.005385, allocations: 4 kB / 275.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.869e-05/0.005434, allocations: 4 kB / 275.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.747e-05/0.005491, allocations: 15.92 kB / 275.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.792e-05/0.005519, allocations: 15.98 kB / 275.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.00568, allocations: 39.83 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.005684, allocations: 0 / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.005686, allocations: 0 / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.005693, allocations: 0 / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004798/0.006173, allocations: 400.3 kB / 275.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.00622, allocations: 11.98 kB / 275.7 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001894/0.006409, allocations: 16.89 kB / 275.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.006622, allocations: 149.8 kB / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.006635, allocations: 4.375 kB / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.006649, allocations: 384 / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.006889, allocations: 113.6 kB / 276 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.0069, allocations: 192 / 276 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.006912, allocations: 384 / 276 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.006922, allocations: 3.938 kB / 276 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.946e-05/0.006951, allocations: 11.98 kB / 276 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002925/0.007244, allocations: 263.5 kB / 276.3 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.083e-05/0.007304, allocations: 62.11 kB / 276.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.434e-05/0.007329, allocations: 19.5 kB / 276.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.007351, allocations: 0 / 276.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.007382, allocations: 45.27 kB / 276.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.007383, allocations: 0 / 276.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001783/0.007561, allocations: 53.58 kB / 276.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.00761, allocations: 77.11 kB / 276.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.007723, allocations: 192.7 kB / 276.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.007737, allocations: 25.7 kB / 276.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/0.007793, allocations: 139.1 kB / 276.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.007809, allocations: 4 kB / 276.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.007845, allocations: 27.33 kB / 276.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.00797, allocations: 492.1 kB / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.468e-05/0.007984, allocations: 4 kB / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.548e-06/0.007994, allocations: 0 / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.101e-05/0.008025, allocations: 23.61 kB / 277.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.008027, allocations: 0 / 277.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.819e-05/0.008095, allocations: 33.64 kB / 277.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.008112, allocations: 14.59 kB / 277.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.00812, allocations: 4.094 kB / 277.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.00814, allocations: 0 / 277.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.527e-05/0.008216, allocations: 3.984 kB / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.008223, allocations: 0 / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.965e-05/0.008242, allocations: 4 kB / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.008249, allocations: 0 / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.11e-05/0.00833, allocations: 152.6 kB / 277.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.022e-05/0.00838, allocations: 49.53 kB / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.008415, allocations: 11.8 kB / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.008417, allocations: 4.031 kB / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.008422, allocations: 0 / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.008425, allocations: 0 / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.008534, allocations: 128.6 kB / 277.8 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.008536, allocations: 0 / 277.8 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.361e-05/0.008559, allocations: 11.98 kB / 277.8 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.008562, allocations: 0 / 277.8 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-06/0.008571, allocations: 3.938 kB / 277.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.008574, allocations: 4 kB / 277.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.008575, allocations: 0 / 277.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.008695, allocations: 199.6 kB / 278 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.483e-05/0.008719, allocations: 11.98 kB / 278 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.008735, allocations: 11.88 kB / 278 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.072e-05/0.008766, allocations: 7.984 kB / 278 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.008796, allocations: 0 / 278 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.0088, allocations: 4 kB / 278.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.13e-05/0.008851, allocations: 139.2 kB / 278.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008851, allocations: 0 / 278.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001809/0.009032, allocations: 7.938 kB / 278.2 MB, free: 11.81 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.858e-05/0.009131, allocations: 99.23 kB / 278.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.375e-05/0.009214, allocations: 19.69 kB / 278.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.009217, allocations: 0 / 278.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.335e-05/0.00923, allocations: 7.688 kB / 278.3 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.009487, allocations: 20.17 kB / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005488/0.01004, allocations: 173.3 kB / 278.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.697e-05/0.01008, allocations: 55.36 kB / 278.6 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.779e-05/0.01011, allocations: 12.2 kB / 278.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.01014, allocations: 8.5 kB / 278.6 MB, free: 11.35 MB / 266.7 MB Notification: Performance of SimCode: time 1.352e-06/0.01014, allocations: 0 / 278.6 MB, free: 11.35 MB / 266.7 MB Notification: Performance of Templates: time 0.002511/0.01265, allocations: 0.5176 MB / 279.1 MB, free: 10.84 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.136540806852281]