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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",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.001074/0.001074, allocations: 108.3 kB / 16.92 MB, free: 5.754 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.001061/0.001061, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.364/1.364, allocations: 222.9 MB / 241.5 MB, free: 15.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009764/0.0009764, allocations: 43.23 kB / 300.7 MB, free: 5.801 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09658/0.09757, allocations: 49.45 MB / 350.2 MB, free: 4.34 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.003196/0.1008, allocations: 1.402 MB / 351.6 MB, free: 2.918 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002116/0.1011, allocations: 31.84 kB / 351.6 MB, free: 2.887 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.88e-05/0.1011, allocations: 0 / 351.6 MB, free: 2.887 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.12e-05/0.1012, allocations: 3.938 kB / 351.6 MB, free: 2.883 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.519e-05/0.1013, allocations: 4 kB / 351.6 MB, free: 2.879 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.1015, allocations: 22.61 kB / 351.6 MB, free: 2.859 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.953e-05/0.1016, allocations: 27.92 kB / 351.7 MB, free: 2.832 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.1017, allocations: 15.97 kB / 351.7 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.279e-05/0.1018, allocations: 11.94 kB / 351.7 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.464e-05/0.1018, allocations: 11.92 kB / 351.7 MB, free: 2.793 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.1019, allocations: 4 kB / 351.7 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.026e-05/0.1019, allocations: 0 / 351.7 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.881e-05/0.1019, allocations: 8 kB / 351.7 MB, free: 2.781 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.1019, allocations: 11.94 kB / 351.7 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.202e-05/0.102, allocations: 31.88 kB / 351.8 MB, free: 2.738 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.102, allocations: 4 kB / 351.8 MB, free: 2.734 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.1021, allocations: 0 / 351.8 MB, free: 2.734 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1021, allocations: 3.938 kB / 351.8 MB, free: 2.73 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.0004115/0.1025, allocations: 339.7 kB / 352.1 MB, free: 2.348 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.1025, allocations: 8.031 kB / 352.1 MB, free: 2.34 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.027e-05/0.1026, allocations: 42.67 kB / 352.1 MB, free: 2.289 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.916e-05/0.1026, allocations: 8.844 kB / 352.2 MB, free: 2.281 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.1028, allocations: 168.4 kB / 352.3 MB, free: 2.078 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.1029, allocations: 4.375 kB / 352.3 MB, free: 2.074 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.1029, allocations: 8.375 kB / 352.3 MB, free: 2.066 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003504/0.1032, allocations: 111.9 kB / 352.4 MB, free: 1.945 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1033, allocations: 3.938 kB / 352.4 MB, free: 1.941 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1033, allocations: 0 / 352.4 MB, free: 1.941 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1033, allocations: 0 / 352.4 MB, free: 1.941 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.1034, allocations: 23.92 kB / 352.5 MB, free: 1.918 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/0.1036, allocations: 161.7 kB / 352.6 MB, free: 1.711 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.1037, allocations: 50.55 kB / 352.7 MB, free: 1.652 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.629e-05/0.1038, allocations: 24.92 kB / 352.7 MB, free: 1.625 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.303e-06/0.1038, allocations: 0 / 352.7 MB, free: 1.625 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.1039, allocations: 42.5 kB / 352.7 MB, free: 1.574 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.1039, allocations: 0 / 352.7 MB, free: 1.574 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002795/0.1041, allocations: 85.44 kB / 352.8 MB, free: 1.484 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.1042, allocations: 55.41 kB / 352.9 MB, free: 1.418 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.283e-05/0.1043, allocations: 105.8 kB / 353 MB, free: 1.305 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.1043, allocations: 29.7 kB / 353 MB, free: 1.27 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.557e-05/0.1044, allocations: 80.14 kB / 353.1 MB, free: 1.188 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.1044, allocations: 0 / 353.1 MB, free: 1.188 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.1044, allocations: 17.72 kB / 353.1 MB, free: 1.164 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1045, allocations: 318.8 kB / 353.4 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.63e-05/0.1046, allocations: 4 kB / 353.4 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.432e-05/0.1046, allocations: 39.38 kB / 353.5 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.959e-05/0.1047, allocations: 39.36 kB / 353.5 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1047, allocations: 0 / 353.5 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.157e-05/0.1048, allocations: 61.48 kB / 353.6 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.1048, allocations: 15.92 kB / 353.6 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1048, allocations: 0 / 353.6 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1048, allocations: 0 / 353.6 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.81e-05/0.1049, allocations: 4 kB / 353.6 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.1049, allocations: 4 kB / 353.6 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.096e-05/0.1049, allocations: 0 / 353.6 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.1049, allocations: 8 kB / 353.6 MB, free: 0.6406 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 8.349e-05/0.105, allocations: 114 kB / 353.7 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.1052, allocations: 65.55 kB / 353.8 MB, free: 460 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.879e-05/0.1052, allocations: 7.5 kB / 353.8 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1052, allocations: 0 / 353.8 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.1052, allocations: 0 / 353.8 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1052, allocations: 0 / 353.8 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.378e-05/0.1053, allocations: 161.6 kB / 353.9 MB, free: 232 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1053, allocations: 0 / 353.9 MB, free: 232 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.471e-05/0.1054, allocations: 4 kB / 353.9 MB, free: 228 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.1054, allocations: 3.938 kB / 353.9 MB, free: 224 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.1054, allocations: 8 kB / 353.9 MB, free: 216 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1054, allocations: 0 / 353.9 MB, free: 216 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1054, allocations: 384 / 353.9 MB, free: 216 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.1056, allocations: 93 kB / 354 MB, free: 104 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.669e-05/0.1056, allocations: 81.05 kB / 354.1 MB, free: 4 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.1057, allocations: 7.984 kB / 354.1 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.867e-05/0.1057, allocations: 7.938 kB / 354.1 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-06/0.1057, allocations: 288 / 354.1 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.1058, allocations: 4 kB / 354.1 MB, free: 15.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.305e-05/0.1058, allocations: 87.22 kB / 354.2 MB, free: 15.9 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.873e-06/0.1058, allocations: 4 kB / 354.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002006/0.106, allocations: 3.938 kB / 354.2 MB, free: 15.89 MB / 302.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.0005579/0.1066, allocations: 0.6513 MB / 354.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001406/0.1067, allocations: 35.98 kB / 354.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1067, allocations: 0 / 354.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.82e-07/0.1068, allocations: 4 kB / 354.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.107, allocations: 31.86 kB / 354.9 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.108, allocations: 1.163 MB / 356.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.1083, allocations: 0.6807 MB / 356.8 MB, free: 13.17 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.44e-05/0.1083, allocations: 3.984 kB / 356.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.755e-05/0.1084, allocations: 7.438 kB / 356.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1084, allocations: 4 kB / 356.8 MB, free: 13.15 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01672/0.1251, allocations: 1.277 MB / 358.1 MB, free: 12 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.421/7.546, allocations: 4.062 kB / 358.1 MB, free: 11.99 MB / 302.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep.fmu > 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.csv","/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) "" Variables in the reference:time,assignClock1.y Variables in the result:time,periodicClock1.period,step.counter,step.startTick,assignClock1.u,assignClock1.y