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.001582/0.001582, allocations: 186.5 kB / 17.27 MB, free: 4.504 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.471/1.471, allocations: 222.9 MB / 240.9 MB, free: 11 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.0009698/0.0009701, allocations: 98.98 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001039/0.001039, allocations: 39.94 kB / 350 MB, free: 92 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3513, allocations: 49.45 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002479/0.3538, allocations: 1.631 MB / 401.1 MB, free: 31.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006056/0.3545, allocations: 466.9 kB / 401.6 MB, free: 31.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.417e-05/0.3546, allocations: 0 / 401.6 MB, free: 31.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.172e-05/0.3546, allocations: 10.39 kB / 401.6 MB, free: 31.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.3548, allocations: 7.938 kB / 401.6 MB, free: 31.28 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.355, allocations: 47.88 kB / 401.6 MB, free: 31.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.322e-05/0.3551, allocations: 47.8 kB / 401.7 MB, free: 31.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.3552, allocations: 16.19 kB / 401.7 MB, free: 31.17 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.292e-05/0.3553, allocations: 19.92 kB / 401.7 MB, free: 31.15 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.11e-05/0.3553, allocations: 23.84 kB / 401.7 MB, free: 31.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.3553, allocations: 0 / 401.7 MB, free: 31.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.347e-05/0.3554, allocations: 4 kB / 401.7 MB, free: 31.12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.701e-05/0.3554, allocations: 15.92 kB / 401.8 MB, free: 31.11 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.3555, allocations: 27.75 kB / 401.8 MB, free: 31.08 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.573e-05/0.3555, allocations: 51.8 kB / 401.8 MB, free: 31.03 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3556, allocations: 0 / 401.8 MB, free: 31.03 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3556, allocations: 0 / 401.8 MB, free: 31.03 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.3556, allocations: 4 kB / 401.8 MB, free: 31.02 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004121/0.356, allocations: 384.6 kB / 402.2 MB, free: 30.6 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.356, allocations: 8.031 kB / 402.2 MB, free: 30.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.3561, allocations: 8.844 kB / 402.2 MB, free: 30.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.3562, allocations: 200.1 kB / 402.4 MB, free: 30.35 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.803e-06/0.3562, allocations: 384 / 402.4 MB, free: 30.35 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.3563, allocations: 4.375 kB / 402.4 MB, free: 30.35 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.3565, allocations: 125.9 kB / 402.6 MB, free: 30.2 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.3565, allocations: 0 / 402.6 MB, free: 30.2 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.3565, allocations: 0 / 402.6 MB, free: 30.2 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3565, allocations: 0 / 402.6 MB, free: 30.2 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.289e-05/0.3566, allocations: 23.92 kB / 402.6 MB, free: 30.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003111/0.3569, allocations: 278.6 kB / 402.8 MB, free: 29.85 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.67e-05/0.357, allocations: 67.8 kB / 402.9 MB, free: 29.76 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.533e-05/0.3571, allocations: 34.62 kB / 402.9 MB, free: 29.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.3571, allocations: 3.938 kB / 403 MB, free: 29.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.3572, allocations: 34.56 kB / 403 MB, free: 29.67 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.3572, allocations: 0 / 403 MB, free: 29.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002445/0.3574, allocations: 89.84 kB / 403.1 MB, free: 29.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/0.3575, allocations: 110.8 kB / 403.2 MB, free: 29.44 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.3576, allocations: 141.1 kB / 403.3 MB, free: 29.3 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.016e-06/0.3576, allocations: 25.7 kB / 403.3 MB, free: 29.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.678e-05/0.3577, allocations: 96.06 kB / 403.4 MB, free: 29.17 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.3577, allocations: 4 kB / 403.4 MB, free: 29.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/0.3577, allocations: 21.62 kB / 403.5 MB, free: 29.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.016e-05/0.3578, allocations: 322.8 kB / 403.8 MB, free: 28.81 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.083e-05/0.3578, allocations: 12 kB / 403.8 MB, free: 28.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.231e-05/0.3579, allocations: 35.41 kB / 403.8 MB, free: 28.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.927e-05/0.358, allocations: 55.36 kB / 403.9 MB, free: 28.69 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.358, allocations: 0 / 403.9 MB, free: 28.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001122/0.3581, allocations: 65.61 kB / 403.9 MB, free: 28.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.3581, allocations: 4 kB / 403.9 MB, free: 28.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3581, allocations: 4 kB / 404 MB, free: 28.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3581, allocations: 0 / 404 MB, free: 28.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.28e-05/0.3582, allocations: 12.06 kB / 404 MB, free: 28.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.3582, allocations: 4 kB / 404 MB, free: 28.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.283e-05/0.3583, allocations: 11.98 kB / 404 MB, free: 28.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.3583, allocations: 0 / 404 MB, free: 28.58 MB / 298.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 () * 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 7.634e-05/0.3584, allocations: 133.6 kB / 404.1 MB, free: 28.44 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.353e-05/0.3584, allocations: 57.53 kB / 404.2 MB, free: 28.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.471e-05/0.3585, allocations: 7.875 kB / 404.2 MB, free: 28.37 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.3585, allocations: 0 / 404.2 MB, free: 28.37 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3585, allocations: 8.062 kB / 404.2 MB, free: 28.36 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.3585, allocations: 0 / 404.2 MB, free: 28.36 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.3587, allocations: 177.5 kB / 404.4 MB, free: 28.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3587, allocations: 4 kB / 404.4 MB, free: 28.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.242e-05/0.3587, allocations: 8 kB / 404.4 MB, free: 28.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3587, allocations: 0 / 404.4 MB, free: 28.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.619e-06/0.3587, allocations: 7.984 kB / 404.4 MB, free: 28.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3587, allocations: 0 / 404.4 MB, free: 28.12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3588, allocations: 4 kB / 404.4 MB, free: 28.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003471/0.3591, allocations: 0.7334 MB / 405.1 MB, free: 27.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.641e-05/0.3592, allocations: 93 kB / 405.2 MB, free: 27.21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.3592, allocations: 0 / 405.2 MB, free: 27.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.948e-05/0.3593, allocations: 7.984 kB / 405.2 MB, free: 27.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.3593, allocations: 7.938 kB / 405.2 MB, free: 27.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.3593, allocations: 4 kB / 405.2 MB, free: 27.19 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.77e-05/0.3594, allocations: 111.2 kB / 405.3 MB, free: 27.08 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3594, allocations: 7.875 kB / 405.3 MB, free: 27.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003221/0.3597, allocations: 8 kB / 405.3 MB, free: 27.06 MB / 298.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 () * 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 0.0001224/0.3598, allocations: 95.25 kB / 405.4 MB, free: 26.96 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001349/0.36, allocations: 32.11 kB / 405.5 MB, free: 26.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.36, allocations: 4.062 kB / 405.5 MB, free: 26.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.421e-05/0.36, allocations: 11.98 kB / 405.5 MB, free: 26.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.3604, allocations: 24.02 kB / 405.5 MB, free: 26.89 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000392/0.3608, allocations: 313.5 kB / 405.8 MB, free: 26.54 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.361, allocations: 0.6926 MB / 406.5 MB, free: 25.82 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.264e-05/0.361, allocations: 4 kB / 406.5 MB, free: 25.81 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.3611, allocations: 7.438 kB / 406.5 MB, free: 25.8 MB / 298.7 MB Notification: Performance of SimCode: time 1.9e-07/0.3611, allocations: 0 / 406.5 MB, free: 25.8 MB / 298.7 MB Notification: Performance of Templates: time 0.002425/0.3635, allocations: 0.5571 MB / 407.1 MB, free: 25.25 MB / 298.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@2/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