Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.001321, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001143/0.001143, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.353/1.353, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.00158, allocations: 59.42 kB / 301.3 MB, free: 5.875 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1021, allocations: 49.44 MB / 350.7 MB, free: 4.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002616/0.1048, allocations: 1.409 MB / 352.1 MB, free: 3 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001708/0.105, allocations: 27.91 kB / 352.2 MB, free: 2.973 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.722e-05/0.1051, allocations: 4 kB / 352.2 MB, free: 2.969 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.861e-05/0.1051, allocations: 7.922 kB / 352.2 MB, free: 2.961 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.04e-05/0.1052, allocations: 3.938 kB / 352.2 MB, free: 2.957 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.1054, allocations: 27.97 kB / 352.2 MB, free: 2.93 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.526e-05/0.1054, allocations: 20 kB / 352.2 MB, free: 2.91 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.1056, allocations: 11.98 kB / 352.2 MB, free: 2.898 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.775e-05/0.1056, allocations: 15.92 kB / 352.3 MB, free: 2.883 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.28e-05/0.1057, allocations: 23.86 kB / 352.3 MB, free: 2.859 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.1057, allocations: 0 / 352.3 MB, free: 2.859 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.025e-05/0.1057, allocations: 4 kB / 352.3 MB, free: 2.855 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.1057, allocations: 0 / 352.3 MB, free: 2.855 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.341e-05/0.1058, allocations: 11.94 kB / 352.3 MB, free: 2.844 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.214e-05/0.1058, allocations: 31.88 kB / 352.3 MB, free: 2.812 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1059, allocations: 0 / 352.3 MB, free: 2.812 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1059, allocations: 4 kB / 352.3 MB, free: 2.809 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1059, allocations: 0 / 352.3 MB, free: 2.809 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.0004183/0.1063, allocations: 343.6 kB / 352.7 MB, free: 2.422 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.1063, allocations: 15.89 kB / 352.7 MB, free: 2.406 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.1064, allocations: 8.844 kB / 352.7 MB, free: 2.398 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.1066, allocations: 172.4 kB / 352.9 MB, free: 2.191 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.1066, allocations: 384 / 352.9 MB, free: 2.191 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.1066, allocations: 8.375 kB / 352.9 MB, free: 2.184 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003218/0.1069, allocations: 107.9 kB / 353 MB, free: 2.066 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.107, allocations: 192 / 353 MB, free: 2.066 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.107, allocations: 15.88 kB / 353 MB, free: 2.051 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.107, allocations: 0 / 353 MB, free: 2.051 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.1071, allocations: 15.98 kB / 353 MB, free: 2.035 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001339/0.1072, allocations: 157.7 kB / 353.2 MB, free: 1.832 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.1074, allocations: 50.55 kB / 353.2 MB, free: 1.773 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.041e-05/0.1075, allocations: 28.92 kB / 353.2 MB, free: 1.742 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.1075, allocations: 0 / 353.2 MB, free: 1.742 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.1075, allocations: 38.56 kB / 353.3 MB, free: 1.695 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 2.404e-06/0.1075, allocations: 0 / 353.3 MB, free: 1.695 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002654/0.1078, allocations: 85.44 kB / 353.4 MB, free: 1.605 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.1079, allocations: 51.41 kB / 353.4 MB, free: 1.543 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.68e-05/0.1079, allocations: 105.8 kB / 353.5 MB, free: 1.43 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.108, allocations: 25.7 kB / 353.5 MB, free: 1.398 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.274e-05/0.108, allocations: 84.14 kB / 353.6 MB, free: 1.312 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.286e-05/0.108, allocations: 0 / 353.6 MB, free: 1.312 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.1081, allocations: 21.72 kB / 353.6 MB, free: 1.285 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1082, allocations: 322.8 kB / 354 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/0.1082, allocations: 4 kB / 354 MB, free: 0.957 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.896e-05/0.1082, allocations: 31.62 kB / 354 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.565e-05/0.1083, allocations: 39.55 kB / 354 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1083, allocations: 4 kB / 354 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.992e-05/0.1084, allocations: 61.48 kB / 354.1 MB, free: 0.793 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.1084, allocations: 15.92 kB / 354.1 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1084, allocations: 3.938 kB / 354.1 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1084, allocations: 0 / 354.1 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.036e-05/0.1085, allocations: 8.125 kB / 354.1 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.1085, allocations: 4 kB / 354.1 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.892e-05/0.1085, allocations: 0 / 354.1 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.1085, allocations: 4 kB / 354.1 MB, free: 0.7578 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: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.941e-05/0.1086, allocations: 113.8 kB / 354.2 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.1088, allocations: 57.61 kB / 354.3 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.729e-05/0.1088, allocations: 15.44 kB / 354.3 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1088, allocations: 0 / 354.3 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1088, allocations: 0 / 354.3 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1088, allocations: 4 kB / 354.3 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.575e-05/0.1089, allocations: 157.7 kB / 354.5 MB, free: 352 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1089, allocations: 0 / 354.5 MB, free: 352 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.234e-05/0.109, allocations: 4 kB / 354.5 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.109, allocations: 0 / 354.5 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.109, allocations: 3.938 kB / 354.5 MB, free: 344 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.109, allocations: 0 / 354.5 MB, free: 344 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.109, allocations: 0 / 354.5 MB, free: 344 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.1092, allocations: 100.9 kB / 354.6 MB, free: 224 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.723e-05/0.1092, allocations: 81.05 kB / 354.7 MB, free: 124 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.1093, allocations: 7.938 kB / 354.7 MB, free: 116 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.987e-05/0.1093, allocations: 4 kB / 354.7 MB, free: 112 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-06/0.1093, allocations: 0 / 354.7 MB, free: 112 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.1093, allocations: 0 / 354.7 MB, free: 112 kB / 286.1 MB Notification: Performance of sorting global known variables: time 3.437e-05/0.1093, allocations: 83.27 kB / 354.7 MB, free: 28 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1094, allocations: 4 kB / 354.8 MB, free: 24 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002002/0.1096, allocations: 8 kB / 354.8 MB, free: 16 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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.0001201/0.1097, allocations: 103.5 kB / 354.9 MB, free: 15.9 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000134/0.1098, allocations: 27.92 kB / 354.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.1098, allocations: 0 / 354.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.1098, allocations: 7.875 kB / 354.9 MB, free: 15.87 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.1101, allocations: 32 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.0002841/0.1104, allocations: 142.1 kB / 355.1 MB, free: 15.67 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.1106, allocations: 0.6884 MB / 355.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.1106, allocations: 11.44 kB / 355.8 MB, free: 14.94 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1106, allocations: 0 / 355.8 MB, free: 14.94 MB / 302.1 MB Notification: Performance of Templates: time 0.001845/0.1125, allocations: 0.5915 MB / 356.4 MB, free: 14.35 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches