Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 208.3 kB / 20.75 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.493/1.493, allocations: 230.6 MB / 254.1 MB, free: 15.05 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 55.84 kB / 373 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.11, allocations: 53.33 MB / 426.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002853/0.1129, allocations: 1.443 MB / 427.8 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003165/0.1132, allocations: 99.67 kB / 427.8 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.048e-05/0.1133, allocations: 4 kB / 427.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.08e-05/0.1133, allocations: 0 / 427.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.78e-05/0.1133, allocations: 3.938 kB / 427.9 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.1136, allocations: 27.91 kB / 427.9 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.1137, allocations: 23.92 kB / 427.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.1138, allocations: 8 kB / 427.9 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.903e-05/0.1139, allocations: 15.92 kB / 427.9 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.714e-05/0.1139, allocations: 15.92 kB / 427.9 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.1139, allocations: 0 / 427.9 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.2e-05/0.1139, allocations: 7.938 kB / 428 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.082e-05/0.114, allocations: 4 kB / 428 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.877e-05/0.114, allocations: 11.94 kB / 428 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.1141, allocations: 31.78 kB / 428 MB, free: 3.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1141, allocations: 0 / 428 MB, free: 3.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1141, allocations: 0 / 428 MB, free: 3.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1141, allocations: 0 / 428 MB, free: 3.07 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.0004716/0.1146, allocations: 339.5 kB / 428.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.1146, allocations: 8.031 kB / 428.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.987e-05/0.1147, allocations: 34.75 kB / 428.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.456e-05/0.1147, allocations: 4.938 kB / 428.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.115, allocations: 188.2 kB / 428.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.115, allocations: 4.375 kB / 428.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.115, allocations: 4.375 kB / 428.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.1153, allocations: 99.88 kB / 428.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1153, allocations: 3.938 kB / 428.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.1153, allocations: 0 / 428.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1153, allocations: 0 / 428.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.726e-05/0.1154, allocations: 15.98 kB / 428.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.1155, allocations: 153.7 kB / 428.8 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.1157, allocations: 50.5 kB / 428.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.243e-05/0.1157, allocations: 24.92 kB / 428.9 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.1158, allocations: 0 / 428.9 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.1158, allocations: 30.56 kB / 428.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1158, allocations: 0 / 428.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002099/0.116, allocations: 69.56 kB / 429 MB, free: 1.875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.1161, allocations: 63.41 kB / 429.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.802e-05/0.1162, allocations: 101.8 kB / 429.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.1162, allocations: 25.7 kB / 429.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.1162, allocations: 84.14 kB / 429.3 MB, free: 1.574 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.422e-06/0.1162, allocations: 3.938 kB / 429.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/0.1163, allocations: 17.72 kB / 429.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1164, allocations: 314.8 kB / 429.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.393e-05/0.1164, allocations: 8 kB / 429.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.925e-05/0.1164, allocations: 27.44 kB / 429.6 MB, free: 1.184 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.665e-05/0.1165, allocations: 35.38 kB / 429.7 MB, free: 1.137 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1165, allocations: 0 / 429.7 MB, free: 1.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.825e-05/0.1166, allocations: 57.62 kB / 429.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1166, allocations: 15.88 kB / 429.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1166, allocations: 0 / 429.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1166, allocations: 0 / 429.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.805e-05/0.1166, allocations: 7.938 kB / 429.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.381e-06/0.1167, allocations: 0 / 429.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.793e-05/0.1167, allocations: 11.92 kB / 429.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-06/0.1167, allocations: 0 / 429.8 MB, free: 1.039 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 8.965e-05/0.1168, allocations: 118 kB / 429.9 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.725e-05/0.1169, allocations: 61.58 kB / 429.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.77e-05/0.1169, allocations: 4.078 kB / 429.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.1169, allocations: 0 / 429.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.1169, allocations: 4 kB / 430 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1169, allocations: 3.984 kB / 430 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.117, allocations: 157.7 kB / 430.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.117, allocations: 0 / 430.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.848e-05/0.117, allocations: 4 kB / 430.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1171, allocations: 3.938 kB / 430.1 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.1171, allocations: 4 kB / 430.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1171, allocations: 0 / 430.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1171, allocations: 3.938 kB / 430.1 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.1172, allocations: 77.12 kB / 430.2 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.678e-05/0.1172, allocations: 88.98 kB / 430.3 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.1172, allocations: 3.938 kB / 430.3 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.083e-05/0.1173, allocations: 4 kB / 430.3 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-06/0.1173, allocations: 0 / 430.3 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.1173, allocations: 4 kB / 430.3 MB, free: 408 kB / 350.1 MB Notification: Performance of sorting global known variables: time 4.734e-05/0.1173, allocations: 83.28 kB / 430.4 MB, free: 324 kB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1173, allocations: 0 / 430.4 MB, free: 324 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001769/0.1175, allocations: 4 kB / 430.4 MB, free: 320 kB / 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.0004677/0.118, allocations: 0.6202 MB / 431 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.1181, allocations: 23.98 kB / 431 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1181, allocations: 3.938 kB / 431 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.1181, allocations: 0 / 431 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.1183, allocations: 16.03 kB / 431 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.1193, allocations: 1.158 MB / 432.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.1196, allocations: 0.6806 MB / 432.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.472e-05/0.1196, allocations: 0 / 432.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.633e-05/0.1197, allocations: 15.44 kB / 432.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1197, allocations: 0 / 432.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/0.1431, allocations: 1.241 MB / 434.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.808/7.951, allocations: 5.391 kB / 434.1 MB, free: 12.53 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.710002223000629]