Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009656/0.0009655, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 221.5 MB / 230.3 MB, free: 7.512 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008487/0.0008487, allocations: 99.33 kB / 281.2 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.645e-05/1.647e-05, allocations: 4 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09155/0.09158, allocations: 50.42 MB / 387.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3357/0.4273, allocations: 76.36 MB / 463.8 MB, free: 2.516 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.4276, allocations: 79.95 kB / 463.9 MB, free: 2.438 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005561/0.4332, allocations: 2.106 MB / 466 MB, free: 348 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4332, allocations: 0 / 466 MB, free: 348 kB / 330.7 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.4332, allocations: 0.75 kB / 466 MB, free: 348 kB / 330.7 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.0004064/0.4336, allocations: 347.1 kB / 466.3 MB, free: 15.96 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.4337, allocations: 12.03 kB / 466.4 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.4337, allocations: 11.86 kB / 466.4 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.4339, allocations: 190.8 kB / 466.6 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.434, allocations: 4 kB / 466.6 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.434, allocations: 7.938 kB / 466.6 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.05e-05/0.4341, allocations: 20 kB / 466.6 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.4343, allocations: 113.8 kB / 466.7 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.4343, allocations: 0 / 466.7 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.4343, allocations: 0 / 466.7 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.4343, allocations: 8 kB / 466.7 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/0.4347, allocations: 251.2 kB / 466.9 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.127e-05/0.4348, allocations: 63.8 kB / 467 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.332e-05/0.4348, allocations: 26.64 kB / 467 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.4349, allocations: 0 / 467 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.4349, allocations: 38.45 kB / 467.1 MB, free: 15.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.4349, allocations: 4 kB / 467.1 MB, free: 15.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001668/0.4351, allocations: 57.59 kB / 467.1 MB, free: 15.01 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.4351, allocations: 106.8 kB / 467.2 MB, free: 14.88 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.4353, allocations: 127.6 kB / 467.4 MB, free: 14.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.4353, allocations: 29.7 kB / 467.4 MB, free: 14.71 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.218e-05/0.4353, allocations: 88.05 kB / 467.5 MB, free: 14.62 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.4354, allocations: 4 kB / 467.5 MB, free: 14.62 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.4354, allocations: 0 / 467.5 MB, free: 14.62 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.4355, allocations: 322.9 kB / 467.8 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.806e-05/0.4355, allocations: 11.94 kB / 467.8 MB, free: 14.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.231e-05/0.4355, allocations: 23.44 kB / 467.8 MB, free: 14.25 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.309e-05/0.4356, allocations: 8 kB / 467.8 MB, free: 14.24 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4356, allocations: 0 / 467.8 MB, free: 14.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.25e-05/0.4357, allocations: 61.53 kB / 467.9 MB, free: 14.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.4357, allocations: 7.953 kB / 467.9 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.4357, allocations: 4 kB / 467.9 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.4357, allocations: 0 / 467.9 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.582e-05/0.4358, allocations: 19.92 kB / 467.9 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.4358, allocations: 0 / 467.9 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.207e-05/0.4359, allocations: 4 kB / 467.9 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.4359, allocations: 4 kB / 467.9 MB, free: 14.14 MB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.257e-05/0.436, allocations: 105.1 kB / 468 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.796e-05/0.436, allocations: 53.53 kB / 468.1 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.702e-05/0.4361, allocations: 11.92 kB / 468.1 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.4361, allocations: 7.984 kB / 468.1 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4361, allocations: 0 / 468.1 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4361, allocations: 0 / 468.1 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.4363, allocations: 150.2 kB / 468.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4363, allocations: 4 kB / 468.3 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.821e-05/0.4364, allocations: 12.06 kB / 468.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.4364, allocations: 0 / 468.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.4364, allocations: 3.984 kB / 468.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.4364, allocations: 4 kB / 468.3 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.4364, allocations: 7.891 kB / 468.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.4366, allocations: 188.5 kB / 468.5 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.393e-05/0.4367, allocations: 97 kB / 468.6 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.4367, allocations: 3.953 kB / 468.6 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.099e-05/0.4368, allocations: 4 kB / 468.6 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.4368, allocations: 3.984 kB / 468.6 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.4368, allocations: 4 kB / 468.6 MB, free: 13.39 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.921e-05/0.4369, allocations: 105.7 kB / 468.7 MB, free: 13.29 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4369, allocations: 0 / 468.7 MB, free: 13.29 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002177/0.4371, allocations: 8 kB / 468.7 MB, free: 13.28 MB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001156/0.4372, allocations: 95.25 kB / 468.8 MB, free: 13.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.384e-05/0.4373, allocations: 19.94 kB / 468.8 MB, free: 13.16 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.4373, allocations: 3.938 kB / 468.8 MB, free: 13.15 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.385e-05/0.4374, allocations: 4 kB / 468.8 MB, free: 13.15 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.4376, allocations: 20.02 kB / 468.8 MB, free: 13.13 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002612/0.4379, allocations: 114.2 kB / 468.9 MB, free: 12.98 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.4382, allocations: 0.7002 MB / 469.6 MB, free: 12.26 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.764e-05/0.4382, allocations: 8.312 kB / 469.7 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.451e-05/0.4382, allocations: 7.438 kB / 469.7 MB, free: 12.24 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4383, allocations: 0 / 469.7 MB, free: 12.24 MB / 346.7 MB Notification: Performance of Templates: time 0.002494/0.4408, allocations: 0.4982 MB / 470.2 MB, free: 11.75 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches