Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, 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.562/1.562, allocations: 222.9 MB / 240.9 MB, free: 10.97 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.001396/0.001396, allocations: 108.5 kB / 291.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 35.95 kB / 350 MB, free: 40 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4272/0.4286, allocations: 49.44 MB / 399.5 MB, free: 33.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003435/0.4321, allocations: 1.939 MB / 401.4 MB, free: 31.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.4337, allocations: 1.045 MB / 402.5 MB, free: 30.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.4338, allocations: 4 kB / 402.5 MB, free: 30.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006499/0.4345, allocations: 151.4 kB / 402.6 MB, free: 30.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002463/0.4347, allocations: 99.69 kB / 402.7 MB, free: 30.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005194/0.4353, allocations: 179.7 kB / 402.9 MB, free: 29.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.4355, allocations: 183.5 kB / 403.1 MB, free: 29.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.4356, allocations: 29.5 kB / 403.1 MB, free: 29.72 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.882e-05/0.4357, allocations: 71.62 kB / 403.2 MB, free: 29.65 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.4358, allocations: 67.69 kB / 403.2 MB, free: 29.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.4359, allocations: 4 kB / 403.2 MB, free: 29.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.436, allocations: 43.98 kB / 403.3 MB, free: 29.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.936e-05/0.4361, allocations: 39.78 kB / 403.3 MB, free: 29.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.542e-05/0.4362, allocations: 63.53 kB / 403.4 MB, free: 29.44 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.4364, allocations: 196.9 kB / 403.6 MB, free: 29.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4364, allocations: 4 kB / 403.6 MB, free: 29.24 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.4364, allocations: 0 / 403.6 MB, free: 29.24 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.4364, allocations: 0 / 403.6 MB, free: 29.24 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.0008124/0.4373, allocations: 0.5041 MB / 404.1 MB, free: 28.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.4373, allocations: 15.97 kB / 404.1 MB, free: 28.67 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.682e-05/0.4374, allocations: 20.66 kB / 404.1 MB, free: 28.65 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.4377, allocations: 258.9 kB / 404.4 MB, free: 28.36 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.4377, allocations: 384 / 404.4 MB, free: 28.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.4377, allocations: 12.12 kB / 404.4 MB, free: 28.35 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.438, allocations: 161.9 kB / 404.5 MB, free: 28.17 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.4381, allocations: 0 / 404.5 MB, free: 28.17 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.4381, allocations: 0 / 404.5 MB, free: 28.17 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.4381, allocations: 4 kB / 404.5 MB, free: 28.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.562e-05/0.4382, allocations: 35.92 kB / 404.6 MB, free: 28.13 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004503/0.4387, allocations: 366.3 kB / 404.9 MB, free: 27.71 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.4389, allocations: 111.9 kB / 405 MB, free: 27.58 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.11e-05/0.4389, allocations: 42.56 kB / 405.1 MB, free: 27.53 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.439, allocations: 4 kB / 405.1 MB, free: 27.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.4391, allocations: 83.3 kB / 405.2 MB, free: 27.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.4392, allocations: 0 / 405.2 MB, free: 27.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003282/0.4395, allocations: 137.4 kB / 405.3 MB, free: 27.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.4396, allocations: 132.5 kB / 405.4 MB, free: 27.13 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.4398, allocations: 261 kB / 405.7 MB, free: 26.87 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.4398, allocations: 29.95 kB / 405.7 MB, free: 26.83 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.4399, allocations: 120 kB / 405.8 MB, free: 26.71 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.4399, allocations: 19.88 kB / 405.8 MB, free: 26.69 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.4399, allocations: 29.7 kB / 405.9 MB, free: 26.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.354e-05/0.44, allocations: 330.8 kB / 406.2 MB, free: 26.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.788e-05/0.4401, allocations: 23.98 kB / 406.2 MB, free: 26.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.72e-05/0.4402, allocations: 69.94 kB / 406.3 MB, free: 26.21 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.4403, allocations: 76.22 kB / 406.4 MB, free: 26.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4403, allocations: 0 / 406.4 MB, free: 26.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001688/0.4405, allocations: 113.5 kB / 406.5 MB, free: 26 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.4405, allocations: 11.94 kB / 406.5 MB, free: 25.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.4405, allocations: 3.938 kB / 406.5 MB, free: 25.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.4406, allocations: 0 / 406.5 MB, free: 25.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.219e-05/0.4407, allocations: 19.98 kB / 406.5 MB, free: 25.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.4407, allocations: 0 / 406.5 MB, free: 25.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.304e-05/0.4407, allocations: 15.78 kB / 406.5 MB, free: 25.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.4408, allocations: 4 kB / 406.5 MB, free: 25.95 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,table.y,superSample1.y,superSample1.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.0001221/0.4409, allocations: 150.1 kB / 406.7 MB, free: 25.79 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.865e-05/0.441, allocations: 61.5 kB / 406.7 MB, free: 25.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.623e-05/0.441, allocations: 29.7 kB / 406.8 MB, free: 25.69 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.441, allocations: 0 / 406.8 MB, free: 25.69 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.4411, allocations: 4 kB / 406.8 MB, free: 25.69 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4411, allocations: 3.938 kB / 406.8 MB, free: 25.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.4412, allocations: 217.6 kB / 407 MB, free: 25.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4412, allocations: 0 / 407 MB, free: 25.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.373e-05/0.4412, allocations: 7.938 kB / 407 MB, free: 25.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.4413, allocations: 8.062 kB / 407 MB, free: 25.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.4413, allocations: 0 / 407 MB, free: 25.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.4413, allocations: 11.92 kB / 407 MB, free: 25.39 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4413, allocations: 0 / 407 MB, free: 25.39 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004272/0.4417, allocations: 0.7579 MB / 407.8 MB, free: 24.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.016e-05/0.4418, allocations: 108.9 kB / 407.9 MB, free: 24.45 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.4418, allocations: 7.938 kB / 407.9 MB, free: 24.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.23e-05/0.4419, allocations: 0 / 407.9 MB, free: 24.44 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.442, allocations: 7.984 kB / 407.9 MB, free: 24.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.442, allocations: 8 kB / 407.9 MB, free: 24.42 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001359/0.4421, allocations: 196.5 kB / 408.1 MB, free: 24.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4421, allocations: 0 / 408.1 MB, free: 24.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003326/0.4425, allocations: 27.94 kB / 408.1 MB, free: 24.2 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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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.0009882/0.4435, allocations: 427.9 kB / 408.5 MB, free: 23.94 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001984/0.4437, allocations: 59.92 kB / 408.6 MB, free: 23.88 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4437, allocations: 0 / 408.6 MB, free: 23.88 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.547e-05/0.4438, allocations: 31.92 kB / 408.6 MB, free: 23.85 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.4442, allocations: 60.97 kB / 408.7 MB, free: 23.79 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006479/0.4448, allocations: 481.7 kB / 409.2 MB, free: 23.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.4451, allocations: 0.7283 MB / 409.9 MB, free: 22.52 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.864e-05/0.4452, allocations: 37.44 kB / 409.9 MB, free: 22.48 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.155e-05/0.4452, allocations: 19.44 kB / 409.9 MB, free: 22.46 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.4453, allocations: 0 / 409.9 MB, free: 22.46 MB / 298.7 MB Notification: Performance of Templates: time 0.00547/0.4507, allocations: 2.331 MB / 412.3 MB, free: 20.16 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches