Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001594/0.001594, 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.643/1.643, allocations: 222.9 MB / 240.9 MB, free: 10.98 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.001096/0.001096, allocations: 93.17 kB / 291.2 MB, free: 10.96 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000883/0.0008832, allocations: 39.94 kB / 350 MB, free: 96 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3126, allocations: 49.45 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002926/0.3155, allocations: 1.533 MB / 401 MB, free: 31.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000332/0.3159, allocations: 135.6 kB / 401.1 MB, free: 31.72 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.911e-05/0.316, allocations: 4 kB / 401.1 MB, free: 31.71 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.782e-05/0.3161, allocations: 3.938 kB / 401.2 MB, free: 31.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.3162, allocations: 0 / 401.2 MB, free: 31.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.3164, allocations: 35.91 kB / 401.2 MB, free: 31.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.083e-05/0.3165, allocations: 30.86 kB / 401.2 MB, free: 31.65 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.3166, allocations: 7.984 kB / 401.2 MB, free: 31.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.93e-05/0.3167, allocations: 15.92 kB / 401.2 MB, free: 31.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.972e-05/0.3167, allocations: 11.94 kB / 401.3 MB, free: 31.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.3167, allocations: 0 / 401.3 MB, free: 31.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.178e-05/0.3167, allocations: 7.938 kB / 401.3 MB, free: 31.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.791e-05/0.3168, allocations: 8.703 kB / 401.3 MB, free: 31.6 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.937e-05/0.3168, allocations: 11.88 kB / 401.3 MB, free: 31.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.333e-05/0.3169, allocations: 44.31 kB / 401.3 MB, free: 31.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3169, allocations: 4 kB / 401.3 MB, free: 31.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3169, allocations: 0 / 401.3 MB, free: 31.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.3169, allocations: 0 / 401.3 MB, free: 31.54 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003663/0.3173, allocations: 360.7 kB / 401.7 MB, free: 31.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.3174, allocations: 8.031 kB / 401.7 MB, free: 31.13 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.811e-05/0.3174, allocations: 8.938 kB / 401.7 MB, free: 31.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.3176, allocations: 189 kB / 401.9 MB, free: 30.9 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.3176, allocations: 384 / 401.9 MB, free: 30.9 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.3176, allocations: 8.375 kB / 401.9 MB, free: 30.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.3178, allocations: 93.61 kB / 402 MB, free: 30.78 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.3178, allocations: 192 / 402 MB, free: 30.78 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.3178, allocations: 3.938 kB / 402 MB, free: 30.78 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3178, allocations: 0 / 402 MB, free: 30.78 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.032e-05/0.3179, allocations: 15.98 kB / 402 MB, free: 30.76 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002524/0.3181, allocations: 253.8 kB / 402.2 MB, free: 30.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.57e-05/0.3182, allocations: 45.09 kB / 402.3 MB, free: 30.4 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.318e-05/0.3182, allocations: 17.77 kB / 402.3 MB, free: 30.38 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.3183, allocations: 0 / 402.3 MB, free: 30.38 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.3183, allocations: 38.5 kB / 402.3 MB, free: 30.33 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3183, allocations: 0 / 402.3 MB, free: 30.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001814/0.3185, allocations: 61.59 kB / 402.4 MB, free: 30.26 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.3185, allocations: 81.05 kB / 402.5 MB, free: 30.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.886e-05/0.3186, allocations: 129.1 kB / 402.6 MB, free: 30.03 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.795e-06/0.3186, allocations: 29.7 kB / 402.6 MB, free: 30 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.058e-05/0.3187, allocations: 92.33 kB / 402.7 MB, free: 29.9 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.693e-06/0.3187, allocations: 0 / 402.7 MB, free: 29.9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.3187, allocations: 21.7 kB / 402.8 MB, free: 29.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.23e-05/0.3188, allocations: 310.8 kB / 403.1 MB, free: 29.56 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.761e-05/0.3188, allocations: 4 kB / 403.1 MB, free: 29.56 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.452e-05/0.3188, allocations: 21.7 kB / 403.1 MB, free: 29.53 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.575e-05/0.3189, allocations: 29.72 kB / 403.1 MB, free: 29.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3189, allocations: 0 / 403.1 MB, free: 29.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.254e-05/0.319, allocations: 53.47 kB / 403.2 MB, free: 29.44 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.319, allocations: 4 kB / 403.2 MB, free: 29.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.319, allocations: 0 / 403.2 MB, free: 29.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.319, allocations: 3.984 kB / 403.2 MB, free: 29.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.24e-05/0.3191, allocations: 4 kB / 403.2 MB, free: 29.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.3191, allocations: 3.984 kB / 403.2 MB, free: 29.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.178e-05/0.3191, allocations: 8 kB / 403.2 MB, free: 29.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.3191, allocations: 7.984 kB / 403.2 MB, free: 29.41 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: 2 (sample1.u,sample1.y) * 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.717e-05/0.3192, allocations: 121.7 kB / 403.3 MB, free: 29.28 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.384e-05/0.3192, allocations: 37.61 kB / 403.4 MB, free: 29.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.373e-05/0.3192, allocations: 11.52 kB / 403.4 MB, free: 29.22 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.3193, allocations: 0 / 403.4 MB, free: 29.22 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3193, allocations: 0 / 403.4 MB, free: 29.22 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3193, allocations: 4 kB / 403.4 MB, free: 29.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.3194, allocations: 169.6 kB / 403.5 MB, free: 29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3194, allocations: 0 / 403.5 MB, free: 29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.683e-06/0.3194, allocations: 3.984 kB / 403.5 MB, free: 29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.3194, allocations: 0 / 403.5 MB, free: 29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.3194, allocations: 0 / 403.5 MB, free: 29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3194, allocations: 4 kB / 403.5 MB, free: 28.99 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3194, allocations: 0 / 403.5 MB, free: 28.99 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.3197, allocations: 0.713 MB / 404.3 MB, free: 28.22 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.512e-05/0.3197, allocations: 89 kB / 404.3 MB, free: 28.11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.3197, allocations: 0 / 404.3 MB, free: 28.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.927e-05/0.3198, allocations: 4 kB / 404.3 MB, free: 28.11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.3198, allocations: 0 / 404.3 MB, free: 28.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.3198, allocations: 3.938 kB / 404.3 MB, free: 28.11 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.371e-05/0.3199, allocations: 107.2 kB / 404.5 MB, free: 28 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3199, allocations: 4.031 kB / 404.5 MB, free: 28 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002948/0.3202, allocations: 4 kB / 404.5 MB, free: 27.99 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: 2 (sample1.u,sample1.y) * 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 8.857e-05/0.3203, allocations: 95.25 kB / 404.6 MB, free: 27.89 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.798e-05/0.3204, allocations: 12 kB / 404.6 MB, free: 27.88 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3204, allocations: 0 / 404.6 MB, free: 27.88 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.343e-05/0.3204, allocations: 11.92 kB / 404.6 MB, free: 27.87 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.3207, allocations: 16.25 kB / 404.6 MB, free: 27.85 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002929/0.321, allocations: 258.8 kB / 404.8 MB, free: 27.55 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.3212, allocations: 0.6887 MB / 405.5 MB, free: 26.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.816e-05/0.3212, allocations: 0 / 405.5 MB, free: 26.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.001e-05/0.3213, allocations: 7.438 kB / 405.5 MB, free: 26.83 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3213, allocations: 8 kB / 405.5 MB, free: 26.82 MB / 298.7 MB Notification: Performance of Templates: time 0.001989/0.3233, allocations: 420.6 kB / 406 MB, free: 26.41 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches