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.001842/0.001842, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.002159/0.002159, allocations: 192.5 kB / 23.71 MB, free: 4.406 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.55/1.55, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.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.001479/0.001479, allocations: 51.91 kB / 370.4 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2569, allocations: 52.18 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.003634/0.2606, allocations: 1.431 MB / 424 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003961/0.261, allocations: 103.7 kB / 424.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.398e-05/0.2611, allocations: 3.938 kB / 424.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.787e-05/0.2611, allocations: 0 / 424.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.48e-05/0.2611, allocations: 3.938 kB / 424.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.2615, allocations: 23.92 kB / 424.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.2616, allocations: 27.97 kB / 424.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.2617, allocations: 7.797 kB / 424.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.511e-05/0.2617, allocations: 11.92 kB / 424.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.965e-05/0.2618, allocations: 15.88 kB / 424.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.2618, allocations: 4 kB / 424.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.062e-05/0.2618, allocations: 0 / 424.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.479e-05/0.2618, allocations: 4 kB / 424.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.628e-05/0.2619, allocations: 11.92 kB / 424.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.262, allocations: 27.89 kB / 424.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.262, allocations: 0 / 424.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.262, allocations: 4 kB / 424.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.262, allocations: 0 / 424.2 MB, free: 12.71 MB / 334.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.0005491/0.2626, allocations: 267.2 kB / 424.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.2626, allocations: 12.03 kB / 424.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.356e-05/0.2627, allocations: 30.75 kB / 424.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.2627, allocations: 0.9375 kB / 424.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.263, allocations: 126.4 kB / 424.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.263, allocations: 384 / 424.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.263, allocations: 4.375 kB / 424.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003774/0.2634, allocations: 107.8 kB / 424.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.2634, allocations: 3.938 kB / 424.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-06/0.2634, allocations: 0 / 424.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2634, allocations: 0 / 424.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.772e-05/0.2635, allocations: 15.92 kB / 424.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.2637, allocations: 124.8 kB / 424.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.2639, allocations: 50.5 kB / 425 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.106e-05/0.2639, allocations: 20.89 kB / 425 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.264, allocations: 4.031 kB / 425 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.264, allocations: 38.5 kB / 425 MB, free: 11.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 3.837e-06/0.264, allocations: 3.984 kB / 425 MB, free: 11.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002592/0.2643, allocations: 61.62 kB / 425.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/0.2643, allocations: 55.41 kB / 425.2 MB, free: 11.65 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.2644, allocations: 105.8 kB / 425.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.2645, allocations: 25.7 kB / 425.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.2645, allocations: 80.14 kB / 425.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.939e-06/0.2645, allocations: 4 kB / 425.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.825e-05/0.2646, allocations: 25.7 kB / 425.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.2647, allocations: 314.8 kB / 425.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.343e-05/0.2648, allocations: 0 / 425.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.115e-05/0.2648, allocations: 31.62 kB / 425.7 MB, free: 11.03 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.902e-05/0.2649, allocations: 35.42 kB / 425.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.2649, allocations: 4 kB / 425.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001179/0.265, allocations: 61.53 kB / 425.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.265, allocations: 11.92 kB / 425.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.265, allocations: 0 / 425.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.265, allocations: 4 kB / 425.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.448e-05/0.2651, allocations: 0 / 425.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.2651, allocations: 4 kB / 425.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.963e-05/0.2651, allocations: 4 kB / 425.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.2651, allocations: 0 / 425.8 MB, free: 10.89 MB / 334.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 0.000116/0.2652, allocations: 113.8 kB / 426 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.2654, allocations: 61.75 kB / 426 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/0.2654, allocations: 3.688 kB / 426 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.2654, allocations: 4 kB / 426 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.2654, allocations: 3.984 kB / 426 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2654, allocations: 0 / 426 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.2655, allocations: 124.7 kB / 426.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2656, allocations: 0 / 426.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.322e-05/0.2656, allocations: 3.984 kB / 426.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.2656, allocations: 3.938 kB / 426.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.2656, allocations: 7.938 kB / 426.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2656, allocations: 0 / 426.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/0.2656, allocations: 7.984 kB / 426.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.2658, allocations: 77.06 kB / 426.3 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.166e-06/0.2658, allocations: 4 kB / 426.3 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.2658, allocations: 7.875 kB / 426.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.154e-05/0.2658, allocations: 7.984 kB / 426.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.222e-06/0.2658, allocations: 4 kB / 426.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.2658, allocations: 0 / 426.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.999e-05/0.2659, allocations: 83.28 kB / 426.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2659, allocations: 0 / 426.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000292/0.2662, allocations: 4 kB / 426.4 MB, free: 10.29 MB / 334.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.000604/0.2668, allocations: 0.6361 MB / 427 MB, free: 9.625 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001317/0.2669, allocations: 19.98 kB / 427 MB, free: 9.605 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2669, allocations: 0 / 427 MB, free: 9.605 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-07/0.2669, allocations: 0 / 427 MB, free: 9.605 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.2672, allocations: 23.95 kB / 427 MB, free: 9.582 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.2686, allocations: 1.143 MB / 428.2 MB, free: 8.34 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.103e-05/0.2687, allocations: 75.45 kB / 428.3 MB, free: 8.246 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.569e-05/0.2687, allocations: 0 / 428.3 MB, free: 8.246 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.2687, allocations: 7.438 kB / 428.3 MB, free: 8.238 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2687, allocations: 0 / 428.3 MB, free: 8.238 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0349/0.3036, allocations: 1.726 MB / 430 MB, free: 6.641 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.09, allocations: 10.86 kB / 430 MB, free: 6.633 MB / 334.1 MB " [Timeout remaining time 649] (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: 13.705926246009767]