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.00141/0.00141, allocations: 103 kB / 17.74 MB, free: 5.367 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.001515/0.001515, allocations: 188.5 kB / 18.66 MB, free: 4.449 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.363/1.363, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 51.91 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2808, allocations: 49.43 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.003286/0.2841, allocations: 1.422 MB / 402.8 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003544/0.2845, allocations: 103.7 kB / 402.9 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.858e-05/0.2846, allocations: 0 / 402.9 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.119e-05/0.2847, allocations: 7.938 kB / 402.9 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.765e-05/0.2847, allocations: 3.938 kB / 402.9 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.285, allocations: 21.98 kB / 403 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.586e-05/0.2851, allocations: 23.92 kB / 403 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.2852, allocations: 15.98 kB / 403 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.71e-05/0.2853, allocations: 7.938 kB / 403 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.312e-05/0.2853, allocations: 15.92 kB / 403 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.2853, allocations: 0 / 403 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.143e-05/0.2854, allocations: 4 kB / 403 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.2854, allocations: 4 kB / 403 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.001e-05/0.2854, allocations: 15.88 kB / 403 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.843e-05/0.2855, allocations: 31.89 kB / 403.1 MB, free: 7.191 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2856, allocations: 0 / 403.1 MB, free: 7.191 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2856, allocations: 0 / 403.1 MB, free: 7.191 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.2856, allocations: 0 / 403.1 MB, free: 7.191 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.0004538/0.286, allocations: 343.1 kB / 403.4 MB, free: 6.809 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.2861, allocations: 15.83 kB / 403.4 MB, free: 6.793 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.2861, allocations: 0.9375 kB / 403.4 MB, free: 6.793 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.2864, allocations: 184.2 kB / 403.6 MB, free: 6.574 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.2864, allocations: 384 / 403.6 MB, free: 6.574 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.2865, allocations: 4.375 kB / 403.6 MB, free: 6.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.2868, allocations: 103.9 kB / 403.7 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.2868, allocations: 192 / 403.7 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.2868, allocations: 3.938 kB / 403.7 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.2868, allocations: 0 / 403.7 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.527e-05/0.2869, allocations: 15.98 kB / 403.7 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001573/0.287, allocations: 153.7 kB / 403.9 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.2872, allocations: 50.5 kB / 403.9 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.52e-05/0.2873, allocations: 28.91 kB / 404 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.2873, allocations: 0 / 404 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.2873, allocations: 30.56 kB / 404 MB, free: 6.109 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.2873, allocations: 0 / 404 MB, free: 6.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002085/0.2875, allocations: 65.62 kB / 404.1 MB, free: 6.039 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.2876, allocations: 63.33 kB / 404.1 MB, free: 5.965 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.845e-05/0.2877, allocations: 101.9 kB / 404.2 MB, free: 5.855 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.2877, allocations: 25.7 kB / 404.2 MB, free: 5.824 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.551e-05/0.2877, allocations: 84.14 kB / 404.3 MB, free: 5.738 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.067e-06/0.2878, allocations: 3.984 kB / 404.3 MB, free: 5.734 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.2878, allocations: 17.72 kB / 404.3 MB, free: 5.711 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.2879, allocations: 310.8 kB / 404.6 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.446e-05/0.288, allocations: 7.938 kB / 404.7 MB, free: 5.391 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.255e-05/0.288, allocations: 35.42 kB / 404.7 MB, free: 5.344 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.29e-05/0.2881, allocations: 35.38 kB / 404.7 MB, free: 5.297 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2881, allocations: 0 / 404.7 MB, free: 5.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.932e-05/0.2882, allocations: 61.53 kB / 404.8 MB, free: 5.23 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.2882, allocations: 4 kB / 404.8 MB, free: 5.227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.2882, allocations: 3.938 kB / 404.8 MB, free: 5.223 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.2882, allocations: 4 kB / 404.8 MB, free: 5.219 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.372e-05/0.2883, allocations: 3.938 kB / 404.8 MB, free: 5.215 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.2883, allocations: 7.984 kB / 404.8 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.247e-05/0.2883, allocations: 1.406 kB / 404.8 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.954e-06/0.2883, allocations: 4 kB / 404.8 MB, free: 5.203 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 8.182e-05/0.2884, allocations: 114 kB / 404.9 MB, free: 5.082 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.299e-05/0.2885, allocations: 53.67 kB / 405 MB, free: 5.023 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.837e-05/0.2886, allocations: 11.44 kB / 405 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.2886, allocations: 0 / 405 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2886, allocations: 4.25 kB / 405 MB, free: 5.004 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.2886, allocations: 0 / 405 MB, free: 5.004 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.2887, allocations: 165.5 kB / 405.2 MB, free: 4.793 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.2887, allocations: 0 / 405.2 MB, free: 4.793 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.29e-05/0.2887, allocations: 3.938 kB / 405.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2887, allocations: 0 / 405.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.2888, allocations: 11.92 kB / 405.2 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2888, allocations: 4 kB / 405.2 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2888, allocations: 0 / 405.2 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.2889, allocations: 77.03 kB / 405.2 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.289, allocations: 77.11 kB / 405.3 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.289, allocations: 7.938 kB / 405.3 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.109e-05/0.289, allocations: 3.984 kB / 405.3 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-06/0.289, allocations: 384 / 405.3 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.289, allocations: 4 kB / 405.3 MB, free: 4.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.353e-05/0.2891, allocations: 83.28 kB / 405.4 MB, free: 4.488 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.2891, allocations: 0 / 405.4 MB, free: 4.488 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001948/0.2893, allocations: 4 kB / 405.4 MB, free: 4.484 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.0001155/0.2894, allocations: 103.1 kB / 405.5 MB, free: 4.371 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001219/0.2895, allocations: 23.98 kB / 405.5 MB, free: 4.348 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/0.2896, allocations: 4.188 kB / 405.6 MB, free: 4.344 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.744e-06/0.2896, allocations: 4 kB / 405.6 MB, free: 4.34 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.2898, allocations: 27.94 kB / 405.6 MB, free: 4.312 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/0.2901, allocations: 135.3 kB / 405.7 MB, free: 4.148 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.2904, allocations: 0.6882 MB / 406.4 MB, free: 3.434 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.074e-05/0.2904, allocations: 7.438 kB / 406.4 MB, free: 3.426 MB / 318.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2904, allocations: 0 / 406.4 MB, free: 3.426 MB / 318.1 MB Notification: Performance of Templates: time 0.002078/0.2925, allocations: 0.5455 MB / 407 MB, free: 2.879 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/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