Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 188.9 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.33/1.33, 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.001128/0.001128, allocations: 102 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009091/0.0009093, allocations: 39.94 kB / 350 MB, free: 88 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2532, allocations: 49.45 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002544/0.2558, allocations: 1.608 MB / 401.1 MB, free: 31.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006454/0.2565, allocations: 462.9 kB / 401.5 MB, free: 31.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.03e-05/0.2566, allocations: 3.781 kB / 401.5 MB, free: 31.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.104e-05/0.2567, allocations: 3.984 kB / 401.5 MB, free: 31.31 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001261/0.2568, allocations: 11.94 kB / 401.6 MB, free: 31.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.257, allocations: 35.91 kB / 401.6 MB, free: 31.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.791e-05/0.2571, allocations: 51.78 kB / 401.6 MB, free: 31.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.2572, allocations: 11.98 kB / 401.6 MB, free: 31.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.028e-05/0.2573, allocations: 23.92 kB / 401.7 MB, free: 31.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.831e-05/0.2574, allocations: 23.86 kB / 401.7 MB, free: 31.15 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.2574, allocations: 4 kB / 401.7 MB, free: 31.15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.249e-05/0.2574, allocations: 0 / 401.7 MB, free: 31.15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.21e-05/0.2575, allocations: 11.92 kB / 401.7 MB, free: 31.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.2575, allocations: 27.8 kB / 401.7 MB, free: 31.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.335e-05/0.2576, allocations: 51.75 kB / 401.8 MB, free: 31.06 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2576, allocations: 4 kB / 401.8 MB, free: 31.05 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.2576, allocations: 0 / 401.8 MB, free: 31.05 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.2576, allocations: 0 / 401.8 MB, free: 31.05 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.0004463/0.2581, allocations: 376.8 kB / 402.2 MB, free: 30.64 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.2581, allocations: 8.031 kB / 402.2 MB, free: 30.63 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.2582, allocations: 8.844 kB / 402.2 MB, free: 30.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.2583, allocations: 200 kB / 402.4 MB, free: 30.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.552e-06/0.2583, allocations: 4.359 kB / 402.4 MB, free: 30.39 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.2584, allocations: 4.375 kB / 402.4 MB, free: 30.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.2586, allocations: 113.3 kB / 402.5 MB, free: 30.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.2586, allocations: 0 / 402.5 MB, free: 30.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.2586, allocations: 0 / 402.5 MB, free: 30.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.2586, allocations: 0 / 402.5 MB, free: 30.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.832e-05/0.2587, allocations: 23.92 kB / 402.5 MB, free: 30.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002328/0.259, allocations: 265.8 kB / 402.8 MB, free: 29.92 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.75e-05/0.2591, allocations: 49.12 kB / 402.8 MB, free: 29.85 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.186e-05/0.2591, allocations: 17.78 kB / 402.8 MB, free: 29.83 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.2591, allocations: 0 / 402.8 MB, free: 29.83 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.2592, allocations: 38.55 kB / 402.9 MB, free: 29.78 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.2592, allocations: 7.938 kB / 402.9 MB, free: 29.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001985/0.2594, allocations: 61.53 kB / 402.9 MB, free: 29.71 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.2594, allocations: 85.11 kB / 403 MB, free: 29.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.79e-05/0.2595, allocations: 141.4 kB / 403.2 MB, free: 29.46 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.643e-06/0.2595, allocations: 25.7 kB / 403.2 MB, free: 29.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.373e-05/0.2596, allocations: 88.38 kB / 403.3 MB, free: 29.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.262e-05/0.2596, allocations: 11.91 kB / 403.3 MB, free: 29.33 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/0.2596, allocations: 21.64 kB / 403.3 MB, free: 29.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.6e-05/0.2597, allocations: 314.8 kB / 403.6 MB, free: 28.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.656e-05/0.2597, allocations: 7.984 kB / 403.6 MB, free: 28.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.229e-05/0.2597, allocations: 21.72 kB / 403.6 MB, free: 28.95 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.27e-05/0.2598, allocations: 33.7 kB / 403.7 MB, free: 28.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2598, allocations: 0 / 403.7 MB, free: 28.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.428e-05/0.2599, allocations: 57.53 kB / 403.7 MB, free: 28.85 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.2599, allocations: 11.98 kB / 403.7 MB, free: 28.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2599, allocations: 0 / 403.7 MB, free: 28.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.26, allocations: 0 / 403.7 MB, free: 28.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.048e-05/0.26, allocations: 4 kB / 403.8 MB, free: 28.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.26, allocations: 0 / 403.8 MB, free: 28.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.16e-05/0.2601, allocations: 12.06 kB / 403.8 MB, free: 28.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-06/0.2601, allocations: 4 kB / 403.8 MB, free: 28.82 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 5.672e-05/0.2602, allocations: 129.6 kB / 403.9 MB, free: 28.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.2602, allocations: 41.55 kB / 403.9 MB, free: 28.63 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.2602, allocations: 15.86 kB / 403.9 MB, free: 28.61 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.2602, allocations: 0 / 403.9 MB, free: 28.61 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.2602, allocations: 0 / 403.9 MB, free: 28.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2603, allocations: 4 kB / 404 MB, free: 28.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.2604, allocations: 173.6 kB / 404.1 MB, free: 28.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2604, allocations: 0 / 404.1 MB, free: 28.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.848e-05/0.2604, allocations: 4 kB / 404.1 MB, free: 28.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2604, allocations: 0 / 404.1 MB, free: 28.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.2604, allocations: 4 kB / 404.1 MB, free: 28.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2605, allocations: 0 / 404.1 MB, free: 28.38 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2605, allocations: 0 / 404.1 MB, free: 28.38 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.2607, allocations: 0.7169 MB / 404.8 MB, free: 27.61 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.2608, allocations: 96.94 kB / 404.9 MB, free: 27.49 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.2608, allocations: 0 / 404.9 MB, free: 27.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.152e-05/0.2608, allocations: 7.984 kB / 404.9 MB, free: 27.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.487e-05/0.2609, allocations: 3.938 kB / 405 MB, free: 27.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.2609, allocations: 0 / 405 MB, free: 27.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.662e-05/0.2609, allocations: 115.3 kB / 405.1 MB, free: 27.37 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2609, allocations: 0 / 405.1 MB, free: 27.37 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002888/0.2612, allocations: 7.938 kB / 405.1 MB, free: 27.36 MB / 298.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 6.802e-05/0.2613, allocations: 99.19 kB / 405.2 MB, free: 27.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001002/0.2614, allocations: 19.98 kB / 405.2 MB, free: 27.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2614, allocations: 0 / 405.2 MB, free: 27.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.239e-05/0.2615, allocations: 11.98 kB / 405.2 MB, free: 27.22 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.2618, allocations: 20.16 kB / 405.2 MB, free: 27.2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002818/0.2621, allocations: 280.4 kB / 405.5 MB, free: 26.88 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001344/0.2622, allocations: 0.6927 MB / 406.2 MB, free: 26.16 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.923e-05/0.2623, allocations: 7.984 kB / 406.2 MB, free: 26.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.026e-05/0.2623, allocations: 7.438 kB / 406.2 MB, free: 26.15 MB / 298.7 MB Notification: Performance of SimCode: time 2.01e-07/0.2623, allocations: 0 / 406.2 MB, free: 26.15 MB / 298.7 MB Notification: Performance of Templates: time 0.002138/0.2644, allocations: 496.3 kB / 406.7 MB, free: 25.67 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches