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.001638/0.001638, allocations: 99.45 kB / 17.59 MB, free: 5.562 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.001869/0.001869, allocations: 191.3 kB / 18.52 MB, free: 4.637 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.362/1.362, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009736/0.0009736, allocations: 43.03 kB / 301.3 MB, free: 5.867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09465/0.09564, allocations: 49.45 MB / 350.7 MB, free: 4.414 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002696/0.09838, allocations: 1.428 MB / 352.2 MB, free: 2.969 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002775/0.09868, allocations: 95.69 kB / 352.3 MB, free: 2.875 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.751e-05/0.09876, allocations: 4 kB / 352.3 MB, free: 2.871 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.922e-05/0.0988, allocations: 7.922 kB / 352.3 MB, free: 2.863 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.025e-05/0.09885, allocations: 3.938 kB / 352.3 MB, free: 2.859 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.0991, allocations: 23.91 kB / 352.3 MB, free: 2.836 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.672e-05/0.09919, allocations: 16 kB / 352.3 MB, free: 2.82 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.09931, allocations: 11.98 kB / 352.3 MB, free: 2.809 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.182e-05/0.09935, allocations: 11.94 kB / 352.3 MB, free: 2.797 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.21e-05/0.09938, allocations: 15.92 kB / 352.3 MB, free: 2.781 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.09941, allocations: 4 kB / 352.4 MB, free: 2.777 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.08e-05/0.09942, allocations: 0 / 352.4 MB, free: 2.777 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.09945, allocations: 7.938 kB / 352.4 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.198e-05/0.09949, allocations: 15.86 kB / 352.4 MB, free: 2.754 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.95e-05/0.09957, allocations: 27.91 kB / 352.4 MB, free: 2.727 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.09958, allocations: 0 / 352.4 MB, free: 2.727 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.09959, allocations: 0 / 352.4 MB, free: 2.727 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.09959, allocations: 0 / 352.4 MB, free: 2.727 MB / 286.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.0004163/0.1, allocations: 339.7 kB / 352.7 MB, free: 2.344 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1001, allocations: 8.031 kB / 352.7 MB, free: 2.336 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.1001, allocations: 8.844 kB / 352.8 MB, free: 2.328 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.1003, allocations: 172.4 kB / 352.9 MB, free: 2.121 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.1003, allocations: 384 / 352.9 MB, free: 2.121 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.1003, allocations: 4.375 kB / 352.9 MB, free: 2.117 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/0.1006, allocations: 113.3 kB / 353 MB, free: 1.996 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.1006, allocations: 192 / 353 MB, free: 1.996 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.1006, allocations: 3.938 kB / 353 MB, free: 1.992 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1006, allocations: 0 / 353 MB, free: 1.992 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.944e-05/0.1007, allocations: 19.92 kB / 353.1 MB, free: 1.973 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001312/0.1009, allocations: 157.7 kB / 353.2 MB, free: 1.77 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.101, allocations: 46.55 kB / 353.3 MB, free: 1.715 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.076e-05/0.1011, allocations: 24.89 kB / 353.3 MB, free: 1.688 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.1011, allocations: 0 / 353.3 MB, free: 1.688 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.1011, allocations: 30.56 kB / 353.3 MB, free: 1.648 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.1011, allocations: 0 / 353.3 MB, free: 1.648 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002029/0.1013, allocations: 77.5 kB / 353.4 MB, free: 1.566 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.1014, allocations: 51.41 kB / 353.4 MB, free: 1.504 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.429e-05/0.1015, allocations: 109.8 kB / 353.5 MB, free: 1.387 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.1015, allocations: 29.7 kB / 353.6 MB, free: 1.352 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.655e-05/0.1015, allocations: 84.14 kB / 353.7 MB, free: 1.266 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.803e-06/0.1015, allocations: 0 / 353.7 MB, free: 1.266 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.1016, allocations: 17.72 kB / 353.7 MB, free: 1.242 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.614e-05/0.1017, allocations: 314.8 kB / 354 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.276e-05/0.1017, allocations: 4 kB / 354 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.501e-05/0.1017, allocations: 31.44 kB / 354 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.074e-05/0.1018, allocations: 39.36 kB / 354.1 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1018, allocations: 0 / 354.1 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.716e-05/0.1018, allocations: 53.58 kB / 354.1 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.1019, allocations: 12.06 kB / 354.1 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.1019, allocations: 3.938 kB / 354.1 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.1019, allocations: 4 kB / 354.1 MB, free: 0.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.923e-05/0.1019, allocations: 3.984 kB / 354.1 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.102, allocations: 4 kB / 354.1 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.768e-05/0.102, allocations: 0 / 354.1 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-06/0.102, allocations: 0 / 354.1 MB, free: 0.7422 MB / 286.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 6.515e-05/0.1021, allocations: 117.8 kB / 354.2 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.246e-05/0.1022, allocations: 57.53 kB / 354.3 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.843e-05/0.1022, allocations: 15.44 kB / 354.3 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1022, allocations: 0 / 354.3 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.1022, allocations: 4 kB / 354.3 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1022, allocations: 0 / 354.3 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.896e-05/0.1023, allocations: 150 kB / 354.5 MB, free: 340 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1023, allocations: 4 kB / 354.5 MB, free: 336 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.869e-05/0.1023, allocations: 4 kB / 354.5 MB, free: 332 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1023, allocations: 0 / 354.5 MB, free: 332 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.1024, allocations: 3.938 kB / 354.5 MB, free: 328 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.1024, allocations: 4.25 kB / 354.5 MB, free: 324 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1024, allocations: 4 kB / 354.5 MB, free: 320 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.1025, allocations: 85.09 kB / 354.6 MB, free: 216 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.442e-05/0.1025, allocations: 85.02 kB / 354.7 MB, free: 112 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.1026, allocations: 7.938 kB / 354.7 MB, free: 104 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.881e-05/0.1026, allocations: 3.938 kB / 354.7 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.592e-06/0.1026, allocations: 0 / 354.7 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.1026, allocations: 0 / 354.7 MB, free: 100 kB / 286.1 MB Notification: Performance of sorting global known variables: time 4.427e-05/0.1027, allocations: 91.27 kB / 354.8 MB, free: 8 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1027, allocations: 0 / 354.8 MB, free: 8 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001863/0.1029, allocations: 4 kB / 354.8 MB, free: 4 kB / 286.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.0001133/0.103, allocations: 99.19 kB / 354.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001114/0.1031, allocations: 31.92 kB / 354.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1031, allocations: 3.938 kB / 354.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.1031, allocations: 0 / 354.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.1033, allocations: 16.28 kB / 354.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002587/0.1036, allocations: 139.2 kB / 355 MB, free: 15.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.1039, allocations: 0.6845 MB / 355.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.277e-05/0.1039, allocations: 7.438 kB / 355.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1039, allocations: 0 / 355.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of Templates: time 0.001947/0.1058, allocations: 0.5388 MB / 356.3 MB, free: 14.42 MB / 302.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