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.00159/0.00159, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.001525/0.001525, allocations: 188.4 kB / 23.72 MB, free: 4.684 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.462/1.462, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.001538/0.001538, allocations: 43.92 kB / 370.4 MB, free: 9.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2624, allocations: 52.19 MB / 422.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002674/0.2651, allocations: 1.428 MB / 424.1 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002755/0.2653, allocations: 99.67 kB / 424.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.067e-05/0.2654, allocations: 0 / 424.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.657e-05/0.2654, allocations: 3.938 kB / 424.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.413e-05/0.2655, allocations: 4 kB / 424.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.2657, allocations: 31.84 kB / 424.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.4e-05/0.2658, allocations: 27.92 kB / 424.2 MB, free: 13 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.394e-05/0.2659, allocations: 8 kB / 424.2 MB, free: 13 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.552e-05/0.2659, allocations: 15.91 kB / 424.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.734e-05/0.266, allocations: 7.938 kB / 424.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.266, allocations: 4 kB / 424.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.655e-06/0.266, allocations: 0 / 424.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.052e-05/0.266, allocations: 8 kB / 424.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.837e-05/0.266, allocations: 19.86 kB / 424.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.041e-05/0.2661, allocations: 27.7 kB / 424.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2661, allocations: 0 / 424.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.2661, allocations: 0 / 424.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.2662, allocations: 0 / 424.3 MB, free: 12.92 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.0004564/0.2666, allocations: 258.9 kB / 424.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.2667, allocations: 12.03 kB / 424.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.732e-05/0.2667, allocations: 34.75 kB / 424.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.285e-05/0.2667, allocations: 0.9375 kB / 424.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.267, allocations: 130.3 kB / 424.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.267, allocations: 12.36 kB / 424.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.267, allocations: 4.375 kB / 424.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002773/0.2673, allocations: 95.88 kB / 424.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.2673, allocations: 3.938 kB / 424.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.2673, allocations: 0 / 424.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2673, allocations: 0 / 424.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.589e-05/0.2674, allocations: 19.98 kB / 424.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001431/0.2675, allocations: 128.8 kB / 425 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.2677, allocations: 46.5 kB / 425 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.131e-05/0.2677, allocations: 24.92 kB / 425.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.2677, allocations: 0 / 425.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.2678, allocations: 34.56 kB / 425.1 MB, free: 11.99 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.2678, allocations: 0 / 425.1 MB, free: 11.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001995/0.268, allocations: 65.61 kB / 425.2 MB, free: 11.92 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.268, allocations: 63.34 kB / 425.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.873e-05/0.2681, allocations: 101.8 kB / 425.3 MB, free: 11.74 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.2681, allocations: 25.7 kB / 425.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.802e-05/0.2682, allocations: 84.14 kB / 425.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.212e-06/0.2682, allocations: 0 / 425.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.2682, allocations: 25.66 kB / 425.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.2683, allocations: 310.8 kB / 425.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.719e-05/0.2684, allocations: 11.98 kB / 425.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.725e-05/0.2684, allocations: 23.44 kB / 425.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.416e-05/0.2684, allocations: 39.31 kB / 425.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2684, allocations: 0 / 425.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.609e-05/0.2685, allocations: 57.58 kB / 425.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.2685, allocations: 11.94 kB / 425.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2685, allocations: 0 / 425.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.2686, allocations: 0 / 425.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.121e-05/0.2686, allocations: 7.938 kB / 425.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2686, allocations: 4.125 kB / 425.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.049e-05/0.2686, allocations: 4 kB / 425.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.2686, allocations: 3.984 kB / 425.9 MB, free: 11.09 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.0001001/0.2687, allocations: 113.8 kB / 426 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.565e-05/0.2688, allocations: 57.62 kB / 426.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.852e-05/0.2689, allocations: 4.016 kB / 426.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2689, allocations: 0 / 426.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2689, allocations: 0 / 426.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.2689, allocations: 3.984 kB / 426.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.269, allocations: 132.7 kB / 426.2 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.269, allocations: 0 / 426.2 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.128e-05/0.269, allocations: 11.92 kB / 426.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.269, allocations: 3.938 kB / 426.2 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.269, allocations: 0 / 426.2 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.269, allocations: 256 / 426.2 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.269, allocations: 0 / 426.2 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.2691, allocations: 77.12 kB / 426.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.238e-06/0.2691, allocations: 8 kB / 426.3 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.2692, allocations: 11.92 kB / 426.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.002e-05/0.2692, allocations: 4 kB / 426.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.204e-06/0.2692, allocations: 0 / 426.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.2692, allocations: 0 / 426.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.433e-05/0.2692, allocations: 79.28 kB / 426.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2692, allocations: 0 / 426.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001823/0.2694, allocations: 4 kB / 426.4 MB, free: 10.5 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.0004677/0.2699, allocations: 0.643 MB / 427.1 MB, free: 9.832 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001123/0.27, allocations: 23.92 kB / 427.1 MB, free: 9.809 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.27, allocations: 0 / 427.1 MB, free: 9.809 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.91e-07/0.27, allocations: 0 / 427.1 MB, free: 9.809 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.2702, allocations: 23.95 kB / 427.1 MB, free: 9.785 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.2714, allocations: 1.146 MB / 428.3 MB, free: 8.539 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.2717, allocations: 0.6883 MB / 429 MB, free: 7.824 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.426e-05/0.2717, allocations: 0 / 429 MB, free: 7.824 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/0.2717, allocations: 11.44 kB / 429 MB, free: 7.812 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2717, allocations: 4 kB / 429 MB, free: 7.809 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02847/0.3002, allocations: 1.333 MB / 430.3 MB, free: 6.605 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.21, allocations: 10.3 kB / 430.3 MB, free: 6.598 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.749930834001134]