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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 120.1 kB / 17.78 MB, free: 5.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00215/0.00215, allocations: 198.8 kB / 20.73 MB, free: 2.289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 225.6 MB / 249.1 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 47.92 kB / 365.6 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09916/0.1007, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002691/0.1033, allocations: 1.421 MB / 419.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001715/0.1035, allocations: 35.84 kB / 419.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.43e-05/0.1036, allocations: 0 / 419.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.141e-05/0.1036, allocations: 0 / 419.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.312e-05/0.1036, allocations: 7.938 kB / 419.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.1038, allocations: 23.97 kB / 419.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.136e-05/0.1039, allocations: 31.86 kB / 419.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.442e-05/0.104, allocations: 11.98 kB / 419.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.401e-05/0.104, allocations: 11.98 kB / 419.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.554e-05/0.1041, allocations: 11.92 kB / 419.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.1041, allocations: 8 kB / 419.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.023e-06/0.1041, allocations: 0 / 419.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.1041, allocations: 7.938 kB / 419.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.733e-05/0.1042, allocations: 11.94 kB / 419.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.307e-05/0.1042, allocations: 43.75 kB / 419.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1042, allocations: 0 / 419.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1042, allocations: 0 / 419.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.1043, allocations: 0 / 419.4 MB, free: 10.98 MB / 350.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.0004276/0.1047, allocations: 335.4 kB / 419.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.1047, allocations: 12.03 kB / 419.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.078e-05/0.1048, allocations: 46.67 kB / 419.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.505e-05/0.1048, allocations: 4.938 kB / 419.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.105, allocations: 176.3 kB / 420 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.105, allocations: 8.312 kB / 420 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.105, allocations: 4.375 kB / 420 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.1054, allocations: 111.9 kB / 420.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.1054, allocations: 7.938 kB / 420.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.1054, allocations: 0 / 420.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.1054, allocations: 0 / 420.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.1055, allocations: 23.92 kB / 420.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/0.1056, allocations: 157.7 kB / 420.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.1058, allocations: 46.56 kB / 420.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.275e-05/0.1059, allocations: 24.92 kB / 420.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-06/0.1059, allocations: 0 / 420.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.1059, allocations: 42.53 kB / 420.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.1059, allocations: 0 / 420.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002626/0.1061, allocations: 77.55 kB / 420.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.1062, allocations: 51.41 kB / 420.5 MB, free: 9.672 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.125e-05/0.1063, allocations: 105.8 kB / 420.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.1063, allocations: 25.7 kB / 420.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.125e-05/0.1063, allocations: 84.14 kB / 420.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.416e-05/0.1064, allocations: 11.95 kB / 420.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.1064, allocations: 21.7 kB / 420.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1065, allocations: 310.8 kB / 421.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.484e-05/0.1065, allocations: 8 kB / 421.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.039e-05/0.1066, allocations: 27.42 kB / 421.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.251e-05/0.1066, allocations: 43.38 kB / 421.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1066, allocations: 0 / 421.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.873e-05/0.1067, allocations: 61.56 kB / 421.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1067, allocations: 7.938 kB / 421.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1067, allocations: 0 / 421.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.1068, allocations: 4 kB / 421.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.641e-05/0.1068, allocations: 8.125 kB / 421.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.1068, allocations: 0 / 421.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.828e-05/0.1068, allocations: 3.938 kB / 421.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-06/0.1068, allocations: 4.375 kB / 421.2 MB, free: 8.895 MB / 350.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.884e-05/0.1069, allocations: 117.8 kB / 421.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/0.1071, allocations: 73.5 kB / 421.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.031e-05/0.1071, allocations: 3.5 kB / 421.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1071, allocations: 0 / 421.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1071, allocations: 4 kB / 421.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1071, allocations: 4 kB / 421.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.1072, allocations: 157.7 kB / 421.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1072, allocations: 0 / 421.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.933e-05/0.1073, allocations: 4 kB / 421.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1073, allocations: 3.938 kB / 421.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.1073, allocations: 4 kB / 421.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.1073, allocations: 3.984 kB / 421.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1073, allocations: 0 / 421.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.1075, allocations: 89.05 kB / 421.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.65e-05/0.1075, allocations: 85.06 kB / 421.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.1075, allocations: 7.938 kB / 421.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.671e-05/0.1075, allocations: 0 / 421.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-06/0.1075, allocations: 4 kB / 421.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.1076, allocations: 0 / 421.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.65e-05/0.1076, allocations: 83.27 kB / 421.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1076, allocations: 0 / 421.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001845/0.1078, allocations: 8 kB / 421.9 MB, free: 8.148 MB / 350.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.0005723/0.1084, allocations: 0.6397 MB / 422.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001327/0.1085, allocations: 36.25 kB / 422.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1085, allocations: 0 / 422.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.1085, allocations: 0 / 422.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.1087, allocations: 24.28 kB / 422.6 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.1098, allocations: 1.177 MB / 423.7 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.1101, allocations: 0.6883 MB / 424.4 MB, free: 5.426 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.363e-05/0.1101, allocations: 0 / 424.4 MB, free: 5.426 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.243e-05/0.1101, allocations: 15.44 kB / 424.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1101, allocations: 0 / 424.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.1341, allocations: 1.312 MB / 425.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.146/8.28, allocations: 12.62 kB / 425.8 MB, free: 4.223 MB / 350.1 MB " [Timeout remaining time 652] (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.000199561 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "Error: Could not read variable assignClock1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.csv. Warning: Get data of variable assignClock1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.997481651138514]