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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, 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.001451/0.001451, 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.443/1.443, allocations: 225.6 MB / 249.1 MB, free: 3.609 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.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 47.92 kB / 365.6 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09294/0.09443, allocations: 52.15 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002757/0.09719, allocations: 1.417 MB / 419.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002915/0.09748, allocations: 107.6 kB / 419.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.488e-05/0.09754, allocations: 3.938 kB / 419.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.556e-05/0.09757, allocations: 7.938 kB / 419.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.733e-05/0.0976, allocations: 7.922 kB / 419.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.09781, allocations: 15.98 kB / 419.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.34e-05/0.09789, allocations: 27.92 kB / 419.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.485e-05/0.09798, allocations: 7.984 kB / 419.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.177e-05/0.09801, allocations: 7.938 kB / 419.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.911e-05/0.09804, allocations: 15.92 kB / 419.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.09806, allocations: 4 kB / 419.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.003e-06/0.09806, allocations: 0 / 419.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.09808, allocations: 4 kB / 419.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.243e-05/0.09811, allocations: 15.94 kB / 419.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.745e-05/0.0982, allocations: 35.77 kB / 419.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.0982, allocations: 0 / 419.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.09821, allocations: 0 / 419.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.09821, allocations: 0 / 419.5 MB, free: 10.94 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.0004403/0.09865, allocations: 343.3 kB / 419.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.09869, allocations: 8.031 kB / 419.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.036e-05/0.09873, allocations: 38.75 kB / 419.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.901e-05/0.09875, allocations: 0.9375 kB / 419.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.09899, allocations: 188.2 kB / 420 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.09901, allocations: 8.375 kB / 420 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.09902, allocations: 384 / 420 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.09929, allocations: 99.86 kB / 420.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.0993, allocations: 3.938 kB / 420.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-06/0.09931, allocations: 0 / 420.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.09931, allocations: 8 kB / 420.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.305e-05/0.09937, allocations: 15.98 kB / 420.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.09953, allocations: 153.6 kB / 420.3 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.09966, allocations: 46.56 kB / 420.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.608e-05/0.09972, allocations: 20.92 kB / 420.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.09974, allocations: 0 / 420.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.09976, allocations: 34.56 kB / 420.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.09976, allocations: 0 / 420.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000226/0.09999, allocations: 73.55 kB / 420.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.1, allocations: 51.41 kB / 420.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.401e-05/0.1001, allocations: 105.8 kB / 420.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.1001, allocations: 29.7 kB / 420.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.866e-05/0.1002, allocations: 80.14 kB / 420.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.181e-06/0.1002, allocations: 4 kB / 420.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.1002, allocations: 17.72 kB / 420.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1004, allocations: 314.8 kB / 421.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.434e-05/0.1004, allocations: 8 kB / 421.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.15e-05/0.1004, allocations: 23.62 kB / 421.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.714e-05/0.1005, allocations: 43.38 kB / 421.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1005, allocations: 0 / 421.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.184e-05/0.1006, allocations: 57.67 kB / 421.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1006, allocations: 11.88 kB / 421.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1006, allocations: 0 / 421.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.1006, allocations: 7.984 kB / 421.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.934e-05/0.1006, allocations: 4.125 kB / 421.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.1006, allocations: 4 kB / 421.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.475e-05/0.1007, allocations: 3.984 kB / 421.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.1007, allocations: 7.938 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: 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 9.569e-05/0.1008, allocations: 109.8 kB / 421.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.1009, allocations: 61.5 kB / 421.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.1009, allocations: 7.5 kB / 421.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1009, allocations: 4 kB / 421.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1009, allocations: 4 kB / 421.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1009, allocations: 0 / 421.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.101, allocations: 161.6 kB / 421.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.101, allocations: 256 / 421.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.071e-05/0.101, allocations: 4 kB / 421.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.101, allocations: 3.938 kB / 421.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.101, allocations: 0 / 421.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1011, allocations: 4 kB / 421.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1011, allocations: 0 / 421.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.1012, allocations: 77.12 kB / 421.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.1012, allocations: 85.03 kB / 421.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.1013, allocations: 7.938 kB / 421.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.946e-05/0.1013, allocations: 0 / 421.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-06/0.1013, allocations: 0 / 421.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.1013, allocations: 0 / 421.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.617e-05/0.1013, allocations: 87.22 kB / 421.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1013, allocations: 0 / 421.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001902/0.1015, allocations: 4 kB / 421.8 MB, free: 8.18 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: 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.0004626/0.102, allocations: 0.6279 MB / 422.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001094/0.1021, allocations: 23.92 kB / 422.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.1021, allocations: 0 / 422.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.1021, allocations: 0 / 422.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.1023, allocations: 26.64 kB / 422.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.1033, allocations: 1.146 MB / 423.7 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.1036, allocations: 0.6844 MB / 424.3 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.335e-05/0.1037, allocations: 4 kB / 424.4 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.676e-05/0.1037, allocations: 11.44 kB / 424.4 MB, free: 5.5 MB / 350.1 MB Notification: Performance of SimCode: time 4.8e-07/0.1037, allocations: 0 / 424.4 MB, free: 5.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.1267, allocations: 1.239 MB / 425.6 MB, free: 4.395 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/8.233, allocations: 4.703 kB / 425.6 MB, free: 4.391 MB / 350.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_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_TimeBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.csv","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.856660904362798]