Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 110.3 kB / 17.06 MB, free: 6.129 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.001587/0.001587, allocations: 191 kB / 18 MB, free: 5.207 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.498/1.498, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 47.92 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.381, allocations: 49.42 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002909/0.3839, allocations: 1.429 MB / 402.1 MB, free: 7.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000325/0.3843, allocations: 103.7 kB / 402.2 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.918e-05/0.3844, allocations: 7.875 kB / 402.3 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.7e-05/0.3844, allocations: 3.984 kB / 402.3 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.856e-05/0.3845, allocations: 3.938 kB / 402.3 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.3847, allocations: 19.06 kB / 402.3 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.534e-05/0.3848, allocations: 19.98 kB / 402.3 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.385, allocations: 23.91 kB / 402.3 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.214e-05/0.385, allocations: 7.938 kB / 402.3 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.542e-05/0.385, allocations: 11.92 kB / 402.3 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.3851, allocations: 8 kB / 402.3 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.298e-06/0.3851, allocations: 0 / 402.3 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.147e-05/0.3851, allocations: 8 kB / 402.4 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.704e-05/0.3852, allocations: 11.88 kB / 402.4 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.14e-05/0.3853, allocations: 31.89 kB / 402.4 MB, free: 7.195 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.3853, allocations: 0 / 402.4 MB, free: 7.195 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3853, allocations: 0 / 402.4 MB, free: 7.195 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.3853, allocations: 0 / 402.4 MB, free: 7.195 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004357/0.3857, allocations: 332.9 kB / 402.7 MB, free: 6.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.3858, allocations: 15.89 kB / 402.7 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.3858, allocations: 8.922 kB / 402.7 MB, free: 6.797 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.3861, allocations: 179.9 kB / 402.9 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.3861, allocations: 4.375 kB / 402.9 MB, free: 6.582 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.3861, allocations: 384 / 402.9 MB, free: 6.582 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.3864, allocations: 103.9 kB / 403 MB, free: 6.469 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3864, allocations: 4.125 kB / 403 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.3864, allocations: 3.938 kB / 403 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.3865, allocations: 0 / 403 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.071e-05/0.3865, allocations: 12 kB / 403 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001448/0.3867, allocations: 157.7 kB / 403.2 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.3868, allocations: 50.55 kB / 403.3 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.05e-05/0.3869, allocations: 24.92 kB / 403.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.3869, allocations: 4 kB / 403.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.3869, allocations: 30.56 kB / 403.3 MB, free: 6.117 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3869, allocations: 3.938 kB / 403.3 MB, free: 6.113 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002017/0.3871, allocations: 61.62 kB / 403.4 MB, free: 6.047 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.3872, allocations: 51.41 kB / 403.4 MB, free: 5.984 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.081e-05/0.3873, allocations: 105.8 kB / 403.5 MB, free: 5.871 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.3873, allocations: 29.7 kB / 403.6 MB, free: 5.836 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.328e-05/0.3874, allocations: 84.14 kB / 403.6 MB, free: 5.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.147e-06/0.3874, allocations: 4 kB / 403.6 MB, free: 5.746 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.3874, allocations: 21.7 kB / 403.7 MB, free: 5.719 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.3875, allocations: 310.8 kB / 404 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.242e-05/0.3875, allocations: 3.938 kB / 404 MB, free: 5.402 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.237e-05/0.3876, allocations: 35.36 kB / 404 MB, free: 5.355 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.946e-05/0.3876, allocations: 39.38 kB / 404 MB, free: 5.305 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3876, allocations: 0 / 404 MB, free: 5.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.336e-05/0.3877, allocations: 61.47 kB / 404.1 MB, free: 5.238 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.3878, allocations: 8.125 kB / 404.1 MB, free: 5.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3878, allocations: 7.938 kB / 404.1 MB, free: 5.223 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3878, allocations: 0 / 404.1 MB, free: 5.223 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.255e-05/0.3878, allocations: 4.25 kB / 404.1 MB, free: 5.219 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3878, allocations: 0 / 404.1 MB, free: 5.219 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.023e-05/0.3879, allocations: 4 kB / 404.1 MB, free: 5.215 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-06/0.3879, allocations: 4 kB / 404.1 MB, free: 5.211 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: 3 (assignClock1.y,assignClock1.u,step.y) * 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 7.373e-05/0.388, allocations: 113.8 kB / 404.2 MB, free: 5.09 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.137e-05/0.3881, allocations: 53.62 kB / 404.3 MB, free: 5.031 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.477e-05/0.3881, allocations: 19.42 kB / 404.3 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.3881, allocations: 0 / 404.3 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3881, allocations: 0 / 404.3 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3881, allocations: 0 / 404.3 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.3882, allocations: 157.6 kB / 404.5 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3882, allocations: 0 / 404.5 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.94e-05/0.3883, allocations: 4 kB / 404.5 MB, free: 4.801 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.3883, allocations: 0 / 404.5 MB, free: 4.801 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.3883, allocations: 3.938 kB / 404.5 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3883, allocations: 3.984 kB / 404.5 MB, free: 4.793 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3883, allocations: 0 / 404.5 MB, free: 4.793 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.3884, allocations: 92.95 kB / 404.6 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.603e-05/0.3885, allocations: 77.48 kB / 404.6 MB, free: 4.59 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.3885, allocations: 3.938 kB / 404.7 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.859e-05/0.3885, allocations: 0 / 404.7 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-06/0.3885, allocations: 0 / 404.7 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.3885, allocations: 4 kB / 404.7 MB, free: 4.582 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.79e-05/0.3886, allocations: 87.27 kB / 404.7 MB, free: 4.496 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3886, allocations: 4 kB / 404.7 MB, free: 4.492 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001873/0.3888, allocations: 4 kB / 404.7 MB, free: 4.488 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.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.0001283/0.3889, allocations: 103.2 kB / 404.8 MB, free: 4.375 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001214/0.3891, allocations: 23.92 kB / 404.9 MB, free: 4.352 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3891, allocations: 0 / 404.9 MB, free: 4.352 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.836e-06/0.3891, allocations: 0 / 404.9 MB, free: 4.352 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.3893, allocations: 23.88 kB / 404.9 MB, free: 4.328 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002813/0.3896, allocations: 113.9 kB / 405 MB, free: 4.191 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.3899, allocations: 0.6921 MB / 405.7 MB, free: 3.473 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.532e-05/0.3899, allocations: 3.938 kB / 405.7 MB, free: 3.469 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.409e-05/0.3899, allocations: 11.44 kB / 405.7 MB, free: 3.457 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3899, allocations: 0 / 405.7 MB, free: 3.457 MB / 318.1 MB Notification: Performance of Templates: time 0.002329/0.3923, allocations: 320.8 kB / 406 MB, free: 3.145 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches