Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001213, allocations: 110.5 kB / 17.06 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 191 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001031/0.001031, allocations: 43.94 kB / 351.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3585, allocations: 49.44 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002911/0.3615, allocations: 1.498 MB / 402.2 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004154/0.3619, allocations: 143.5 kB / 402.4 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.809e-05/0.362, allocations: 7.875 kB / 402.4 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.807e-05/0.3621, allocations: 3.938 kB / 402.4 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.3622, allocations: 11.98 kB / 402.4 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.3625, allocations: 39.84 kB / 402.4 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.3626, allocations: 27.92 kB / 402.4 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.3627, allocations: 19.97 kB / 402.5 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.513e-05/0.3628, allocations: 11.94 kB / 402.5 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.428e-05/0.3628, allocations: 19.86 kB / 402.5 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.3629, allocations: 4 kB / 402.5 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.25e-05/0.3629, allocations: 4 kB / 402.5 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.683e-05/0.3629, allocations: 11.98 kB / 402.5 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.272e-05/0.363, allocations: 19.81 kB / 402.5 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.3631, allocations: 43.81 kB / 402.6 MB, free: 7.004 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.3631, allocations: 8 kB / 402.6 MB, free: 6.996 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3631, allocations: 0 / 402.6 MB, free: 6.996 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.636e-05/0.3632, allocations: 0 / 402.6 MB, free: 6.996 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005727/0.3637, allocations: 356.4 kB / 402.9 MB, free: 6.602 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.3638, allocations: 12.03 kB / 402.9 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.457e-05/0.3639, allocations: 8.844 kB / 403 MB, free: 6.582 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.3642, allocations: 204 kB / 403.2 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.3642, allocations: 384 / 403.2 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.3642, allocations: 12.38 kB / 403.2 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003084/0.3645, allocations: 109.6 kB / 403.3 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.3646, allocations: 192 / 403.3 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.3646, allocations: 3.938 kB / 403.3 MB, free: 6.203 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3646, allocations: 0 / 403.3 MB, free: 6.203 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.803e-05/0.3647, allocations: 15.94 kB / 403.3 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004897/0.3652, allocations: 261.8 kB / 403.5 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.3655, allocations: 142.2 kB / 403.7 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.71e-05/0.3656, allocations: 29.77 kB / 403.7 MB, free: 5.668 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.3656, allocations: 0 / 403.7 MB, free: 5.668 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.3656, allocations: 38.55 kB / 403.8 MB, free: 5.621 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.3656, allocations: 0 / 403.8 MB, free: 5.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002852/0.3659, allocations: 73.52 kB / 403.8 MB, free: 5.543 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.968e-05/0.366, allocations: 81.11 kB / 403.9 MB, free: 5.445 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.3662, allocations: 130 kB / 404 MB, free: 5.309 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.3662, allocations: 29.64 kB / 404.1 MB, free: 5.273 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.078e-05/0.3663, allocations: 88.14 kB / 404.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.081e-05/0.3663, allocations: 0 / 404.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.3663, allocations: 25.61 kB / 404.2 MB, free: 5.152 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3665, allocations: 318.8 kB / 404.5 MB, free: 4.832 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.495e-05/0.3665, allocations: 7.938 kB / 404.5 MB, free: 4.824 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.262e-05/0.3666, allocations: 35.42 kB / 404.5 MB, free: 4.777 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.951e-05/0.3667, allocations: 39.38 kB / 404.6 MB, free: 4.727 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3667, allocations: 0 / 404.6 MB, free: 4.727 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000109/0.3668, allocations: 69.55 kB / 404.6 MB, free: 4.652 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3668, allocations: 4 kB / 404.6 MB, free: 4.648 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3668, allocations: 0 / 404.6 MB, free: 4.648 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.3669, allocations: 4 kB / 404.6 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.18e-05/0.3669, allocations: 0 / 404.6 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.3669, allocations: 3.984 kB / 404.6 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.318e-05/0.3669, allocations: 7.938 kB / 404.7 MB, free: 4.633 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.3669, allocations: 0 / 404.7 MB, free: 4.633 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * 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 0.0001079/0.3671, allocations: 137.8 kB / 404.8 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.008e-05/0.3671, allocations: 45.61 kB / 404.8 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.757e-05/0.3672, allocations: 11.89 kB / 404.8 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3672, allocations: 4 kB / 404.8 MB, free: 4.414 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3672, allocations: 0 / 404.8 MB, free: 4.414 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3672, allocations: 0 / 404.8 MB, free: 4.414 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.3674, allocations: 173.5 kB / 405 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3674, allocations: 0 / 405 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.458e-06/0.3674, allocations: 4 kB / 405 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3674, allocations: 0 / 405 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.3674, allocations: 0 / 405 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.3674, allocations: 8 kB / 405 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.3675, allocations: 0 / 405 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.3676, allocations: 168.2 kB / 405.2 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-05/0.3677, allocations: 89.02 kB / 405.3 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.3677, allocations: 7.984 kB / 405.3 MB, free: 3.887 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.265e-05/0.3678, allocations: 0 / 405.3 MB, free: 3.887 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.3678, allocations: 4 kB / 405.3 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.3678, allocations: 4 kB / 405.3 MB, free: 3.879 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.2e-05/0.3679, allocations: 102.8 kB / 405.4 MB, free: 3.781 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3679, allocations: 0 / 405.4 MB, free: 3.781 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002223/0.3682, allocations: 4 kB / 405.4 MB, free: 3.777 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * 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.0001132/0.3683, allocations: 107.2 kB / 405.5 MB, free: 3.664 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000137/0.3684, allocations: 28.11 kB / 405.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3684, allocations: 8.062 kB / 405.5 MB, free: 3.629 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.322e-05/0.3685, allocations: 3.938 kB / 405.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.3688, allocations: 28.41 kB / 405.6 MB, free: 3.598 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003788/0.3692, allocations: 134.5 kB / 405.7 MB, free: 3.438 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.3695, allocations: 0.6922 MB / 406.4 MB, free: 2.719 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.307e-05/0.3696, allocations: 4 kB / 406.4 MB, free: 2.715 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.3696, allocations: 11.5 kB / 406.4 MB, free: 2.703 MB / 318.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3696, allocations: 0 / 406.4 MB, free: 2.703 MB / 318.1 MB Notification: Performance of Templates: time 0.002617/0.3722, allocations: 499.1 kB / 406.9 MB, free: 2.219 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches