Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, 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.484/1.484, 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.001334/0.001334, allocations: 99.12 kB / 291.2 MB, free: 10.96 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 39.94 kB / 350 MB, free: 96 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3621, allocations: 49.44 MB / 399.5 MB, free: 33.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003601/0.3658, allocations: 1.937 MB / 401.4 MB, free: 31.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.3675, allocations: 1.009 MB / 402.4 MB, free: 30.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.3677, allocations: 10 kB / 402.4 MB, free: 30.44 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006286/0.3683, allocations: 147.7 kB / 402.6 MB, free: 30.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002489/0.3686, allocations: 95.7 kB / 402.7 MB, free: 30.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006154/0.3692, allocations: 188.7 kB / 402.9 MB, free: 30.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002241/0.3694, allocations: 179.6 kB / 403 MB, free: 29.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.3696, allocations: 29.48 kB / 403.1 MB, free: 29.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.572e-05/0.3697, allocations: 71.58 kB / 403.1 MB, free: 29.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.3698, allocations: 71.64 kB / 403.2 MB, free: 29.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.3698, allocations: 4 kB / 403.2 MB, free: 29.67 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.37, allocations: 47.95 kB / 403.2 MB, free: 29.62 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.839e-05/0.3701, allocations: 35.84 kB / 403.3 MB, free: 29.59 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.431e-05/0.3701, allocations: 59.55 kB / 403.3 MB, free: 29.53 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002594/0.3704, allocations: 200.9 kB / 403.5 MB, free: 29.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.3704, allocations: 0 / 403.5 MB, free: 29.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3704, allocations: 0 / 403.5 MB, free: 29.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.3704, allocations: 0 / 403.5 MB, free: 29.34 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007788/0.3712, allocations: 0.508 MB / 404 MB, free: 28.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.3713, allocations: 12.03 kB / 404.1 MB, free: 28.76 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.581e-05/0.3714, allocations: 20.66 kB / 404.1 MB, free: 28.74 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.3717, allocations: 258.9 kB / 404.3 MB, free: 28.45 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.3717, allocations: 8.25 kB / 404.3 MB, free: 28.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.3717, allocations: 16.11 kB / 404.4 MB, free: 28.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003218/0.3721, allocations: 150.7 kB / 404.5 MB, free: 28.26 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3721, allocations: 0 / 404.5 MB, free: 28.26 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.3721, allocations: 0 / 404.5 MB, free: 28.26 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.3721, allocations: 4 kB / 404.5 MB, free: 28.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.404e-05/0.3722, allocations: 35.91 kB / 404.5 MB, free: 28.22 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004446/0.3727, allocations: 366.3 kB / 404.9 MB, free: 27.8 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.3729, allocations: 107.9 kB / 405 MB, free: 27.67 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.993e-05/0.373, allocations: 38.58 kB / 405 MB, free: 27.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.373, allocations: 7.984 kB / 405 MB, free: 27.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.3732, allocations: 75.33 kB / 405.1 MB, free: 27.53 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.3732, allocations: 0 / 405.1 MB, free: 27.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003659/0.3736, allocations: 141.6 kB / 405.3 MB, free: 27.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.507e-05/0.3737, allocations: 136.5 kB / 405.4 MB, free: 27.22 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.3739, allocations: 257 kB / 405.6 MB, free: 26.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.3739, allocations: 33.7 kB / 405.7 MB, free: 26.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.848e-05/0.374, allocations: 116 kB / 405.8 MB, free: 26.81 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.374, allocations: 15.8 kB / 405.8 MB, free: 26.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/0.3741, allocations: 29.72 kB / 405.8 MB, free: 26.76 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.671e-05/0.3742, allocations: 338.8 kB / 406.2 MB, free: 26.42 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.74e-05/0.3743, allocations: 16 kB / 406.2 MB, free: 26.4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.391e-05/0.3743, allocations: 73.97 kB / 406.3 MB, free: 26.31 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.3744, allocations: 72.27 kB / 406.3 MB, free: 26.22 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3745, allocations: 4 kB / 406.3 MB, free: 26.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001703/0.3746, allocations: 113.4 kB / 406.4 MB, free: 26.1 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.3747, allocations: 4 kB / 406.4 MB, free: 26.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.3747, allocations: 7.938 kB / 406.4 MB, free: 26.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.3747, allocations: 128 / 406.4 MB, free: 26.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.476e-05/0.3748, allocations: 24.23 kB / 406.5 MB, free: 26.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.3748, allocations: 0 / 406.5 MB, free: 26.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.604e-05/0.3749, allocations: 23.72 kB / 406.5 MB, free: 26.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.3749, allocations: 8 kB / 406.5 MB, free: 26.04 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,subSample1.y,subSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001318/0.3751, allocations: 141.8 kB / 406.6 MB, free: 25.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.297e-05/0.3751, allocations: 65.44 kB / 406.7 MB, free: 25.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.9e-05/0.3752, allocations: 25.7 kB / 406.7 MB, free: 25.79 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3752, allocations: 4.062 kB / 406.7 MB, free: 25.78 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.3753, allocations: 4 kB / 406.7 MB, free: 25.78 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3753, allocations: 3.938 kB / 406.7 MB, free: 25.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.3755, allocations: 221.7 kB / 407 MB, free: 25.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3755, allocations: 0 / 407 MB, free: 25.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.408e-05/0.3755, allocations: 7.984 kB / 407 MB, free: 25.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3755, allocations: 4 kB / 407 MB, free: 25.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.3755, allocations: 0 / 407 MB, free: 25.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3755, allocations: 0 / 407 MB, free: 25.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3755, allocations: 4 kB / 407 MB, free: 25.49 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004319/0.376, allocations: 0.7618 MB / 407.7 MB, free: 24.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.844e-05/0.3761, allocations: 104.9 kB / 407.8 MB, free: 24.54 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.3761, allocations: 7.938 kB / 407.8 MB, free: 24.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.732e-05/0.3762, allocations: 3.984 kB / 407.9 MB, free: 24.53 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.3762, allocations: 11.98 kB / 407.9 MB, free: 24.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.3762, allocations: 8 kB / 407.9 MB, free: 24.51 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000147/0.3764, allocations: 196.5 kB / 408.1 MB, free: 24.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3764, allocations: 0 / 408.1 MB, free: 24.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003933/0.3768, allocations: 31.94 kB / 408.1 MB, free: 24.29 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: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000995/0.3778, allocations: 418.5 kB / 408.5 MB, free: 24.04 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.378, allocations: 71.84 kB / 408.6 MB, free: 23.96 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.378, allocations: 0 / 408.6 MB, free: 23.96 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.142e-05/0.3781, allocations: 24 kB / 408.6 MB, free: 23.94 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.3785, allocations: 60.36 kB / 408.7 MB, free: 23.88 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005578/0.3791, allocations: 473.8 kB / 409.1 MB, free: 23.37 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.3793, allocations: 0.7361 MB / 409.9 MB, free: 22.61 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.035e-05/0.3793, allocations: 17.55 kB / 409.9 MB, free: 22.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.788e-05/0.3794, allocations: 23.38 kB / 409.9 MB, free: 22.57 MB / 298.7 MB Notification: Performance of SimCode: time 4.41e-07/0.3794, allocations: 3.938 kB / 409.9 MB, free: 22.56 MB / 298.7 MB Notification: Performance of Templates: time 0.005293/0.3847, allocations: 2.358 MB / 412.3 MB, free: 20.24 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches