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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 113.4 kB / 17.07 MB, free: 5.988 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.001966/0.001966, allocations: 193.4 kB / 18 MB, free: 5.074 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.462/1.462, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 55.91 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2793, allocations: 49.44 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.003039/0.2824, allocations: 1.42 MB / 401.7 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003248/0.2827, allocations: 105.3 kB / 401.8 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.33e-05/0.2828, allocations: 1.031 kB / 401.8 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.658e-05/0.2828, allocations: 0 / 401.8 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.921e-05/0.2829, allocations: 4.938 kB / 401.8 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.2831, allocations: 22.84 kB / 401.8 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.795e-05/0.2832, allocations: 26.05 kB / 401.8 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.756e-05/0.2834, allocations: 17.28 kB / 401.8 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.681e-05/0.2834, allocations: 11.22 kB / 401.8 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.914e-05/0.2834, allocations: 6.188 kB / 401.8 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.2835, allocations: 6.219 kB / 401.9 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.488e-06/0.2835, allocations: 2.219 kB / 401.9 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.005e-05/0.2835, allocations: 9.203 kB / 401.9 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.791e-05/0.2835, allocations: 19.39 kB / 401.9 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.149e-05/0.2836, allocations: 22.09 kB / 401.9 MB, free: 7.125 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.2836, allocations: 0 / 401.9 MB, free: 7.125 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2836, allocations: 1.062 kB / 401.9 MB, free: 7.125 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.2837, allocations: 0 / 401.9 MB, free: 7.125 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.0004793/0.2841, allocations: 342.1 kB / 402.2 MB, free: 6.754 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.2842, allocations: 10.72 kB / 402.3 MB, free: 6.75 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.046e-05/0.2842, allocations: 38.73 kB / 402.3 MB, free: 6.703 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.335e-05/0.2843, allocations: 4.938 kB / 402.3 MB, free: 6.699 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.2845, allocations: 180.3 kB / 402.5 MB, free: 6.484 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.2845, allocations: 384 / 402.5 MB, free: 6.484 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.2846, allocations: 8.312 kB / 402.5 MB, free: 6.477 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.2848, allocations: 111.8 kB / 402.6 MB, free: 6.355 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.2849, allocations: 3.938 kB / 402.6 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.2849, allocations: 0 / 402.6 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.2849, allocations: 0 / 402.6 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.06e-05/0.285, allocations: 8 kB / 402.6 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001731/0.2851, allocations: 157.7 kB / 402.8 MB, free: 6.141 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.2853, allocations: 46.56 kB / 402.8 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.678e-05/0.2853, allocations: 24.92 kB / 402.8 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.2854, allocations: 0 / 402.8 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.2854, allocations: 42.5 kB / 402.9 MB, free: 6.008 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.2854, allocations: 0 / 402.9 MB, free: 6.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002159/0.2856, allocations: 61.62 kB / 402.9 MB, free: 5.941 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.2857, allocations: 51.41 kB / 403 MB, free: 5.879 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.918e-05/0.2858, allocations: 105.8 kB / 403.1 MB, free: 5.766 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.2858, allocations: 33.64 kB / 403.1 MB, free: 5.727 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.02e-05/0.2859, allocations: 80.14 kB / 403.2 MB, free: 5.645 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.487e-06/0.2859, allocations: 7.938 kB / 403.2 MB, free: 5.637 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.2859, allocations: 17.7 kB / 403.2 MB, free: 5.613 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.2861, allocations: 318.8 kB / 403.5 MB, free: 5.293 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.35e-05/0.2861, allocations: 0 / 403.5 MB, free: 5.293 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.824e-05/0.2862, allocations: 35.36 kB / 403.6 MB, free: 5.246 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.249e-05/0.2862, allocations: 35.62 kB / 403.6 MB, free: 5.199 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2862, allocations: 0 / 403.6 MB, free: 5.199 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.177e-05/0.2863, allocations: 65.58 kB / 403.7 MB, free: 5.129 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.2864, allocations: 14.56 kB / 403.7 MB, free: 5.117 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.2864, allocations: 4 kB / 403.7 MB, free: 5.113 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.2864, allocations: 0 / 403.7 MB, free: 5.113 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.145e-05/0.2865, allocations: 4 kB / 403.7 MB, free: 5.109 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2865, allocations: 0 / 403.7 MB, free: 5.109 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.776e-05/0.2865, allocations: 0 / 403.7 MB, free: 5.109 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.2865, allocations: 4 kB / 403.7 MB, free: 5.105 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 0.0001094/0.2866, allocations: 113.8 kB / 403.8 MB, free: 4.984 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.2867, allocations: 53.91 kB / 403.8 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.494e-05/0.2868, allocations: 19.52 kB / 403.9 MB, free: 4.902 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2868, allocations: 0 / 403.9 MB, free: 4.902 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2868, allocations: 0 / 403.9 MB, free: 4.902 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2868, allocations: 0 / 403.9 MB, free: 4.902 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.287, allocations: 157.6 kB / 404 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.287, allocations: 0 / 404 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.948e-05/0.287, allocations: 0 / 404 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.287, allocations: 7.938 kB / 404 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.287, allocations: 0 / 404 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.287, allocations: 0 / 404 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.287, allocations: 3.984 kB / 404 MB, free: 4.688 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.2872, allocations: 81.06 kB / 404.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.549e-05/0.2872, allocations: 89.05 kB / 404.2 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.2873, allocations: 3.938 kB / 404.2 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.794e-05/0.2873, allocations: 0 / 404.2 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-06/0.2873, allocations: 0 / 404.2 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.2873, allocations: 4 kB / 404.2 MB, free: 4.477 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.114e-05/0.2874, allocations: 83.27 kB / 404.3 MB, free: 4.395 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.124e-06/0.2874, allocations: 4 kB / 404.3 MB, free: 4.391 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001839/0.2876, allocations: 7.938 kB / 404.3 MB, free: 4.383 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.0005418/0.2881, allocations: 0.6281 MB / 404.9 MB, free: 3.723 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001218/0.2882, allocations: 24.12 kB / 405 MB, free: 3.699 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.2883, allocations: 4.062 kB / 405 MB, free: 3.695 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.2883, allocations: 0 / 405 MB, free: 3.695 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.2885, allocations: 27.94 kB / 405 MB, free: 3.668 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.2897, allocations: 1.138 MB / 406.1 MB, free: 2.43 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.2902, allocations: 0.6844 MB / 406.8 MB, free: 1.719 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.063e-05/0.2902, allocations: 0 / 406.8 MB, free: 1.719 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.764e-05/0.2902, allocations: 11.42 kB / 406.8 MB, free: 1.707 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2902, allocations: 0 / 406.8 MB, free: 1.707 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02352/0.3138, allocations: 1.23 MB / 408 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.791/8.105, allocations: 11.59 kB / 408.1 MB, free: 0.6016 MB / 318.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/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