Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001744/0.001744, allocations: 110 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002297/0.002297, allocations: 213.1 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 230.5 MB / 257.4 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 71.88 kB / 377.8 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2594, allocations: 53.4 MB / 431.2 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002843/0.2622, allocations: 1.456 MB / 432.6 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003682/0.2626, allocations: 99.62 kB / 432.7 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.089e-05/0.2626, allocations: 4 kB / 432.7 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.109e-05/0.2627, allocations: 7.922 kB / 432.7 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.395e-05/0.2627, allocations: 0 / 432.7 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.2629, allocations: 23.92 kB / 432.8 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.015e-05/0.263, allocations: 19.92 kB / 432.8 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.17e-05/0.2631, allocations: 11.98 kB / 432.8 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.578e-05/0.2631, allocations: 19.92 kB / 432.8 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.643e-05/0.2632, allocations: 15.92 kB / 432.8 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.2632, allocations: 0 / 432.8 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.017e-05/0.2632, allocations: 4 kB / 432.8 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.483e-05/0.2632, allocations: 0 / 432.8 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.313e-05/0.2633, allocations: 15.88 kB / 432.9 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.62e-05/0.2633, allocations: 23.7 kB / 432.9 MB, free: 4.957 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.768e-06/0.2634, allocations: 4 kB / 432.9 MB, free: 4.953 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2634, allocations: 0 / 432.9 MB, free: 4.953 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.2634, allocations: 0 / 432.9 MB, free: 4.953 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.0004767/0.2638, allocations: 262.9 kB / 433.1 MB, free: 4.668 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.2639, allocations: 8.031 kB / 433.1 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.781e-05/0.2639, allocations: 38.73 kB / 433.2 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.688e-05/0.264, allocations: 4.938 kB / 433.2 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.2642, allocations: 130.3 kB / 433.3 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.2642, allocations: 4.375 kB / 433.3 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-06/0.2642, allocations: 384 / 433.3 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002791/0.2645, allocations: 99.89 kB / 433.4 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2645, allocations: 3.938 kB / 433.4 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.742e-06/0.2645, allocations: 0 / 433.4 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2645, allocations: 0 / 433.4 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.041e-05/0.2646, allocations: 15.98 kB / 433.4 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.2647, allocations: 124.8 kB / 433.6 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.2649, allocations: 58.48 kB / 433.6 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.041e-05/0.2649, allocations: 16.89 kB / 433.6 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.2649, allocations: 0 / 433.6 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.265, allocations: 34.59 kB / 433.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.265, allocations: 0 / 433.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001976/0.2652, allocations: 69.58 kB / 433.7 MB, free: 3.957 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.2652, allocations: 55.34 kB / 433.8 MB, free: 3.891 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.472e-05/0.2653, allocations: 109.8 kB / 433.9 MB, free: 3.773 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.2653, allocations: 29.64 kB / 433.9 MB, free: 3.738 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.109e-05/0.2654, allocations: 88.08 kB / 434 MB, free: 3.648 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.34e-06/0.2654, allocations: 0 / 434 MB, free: 3.648 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.2654, allocations: 21.7 kB / 434 MB, free: 3.621 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.2655, allocations: 310.8 kB / 434.3 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.237e-05/0.2656, allocations: 4 kB / 434.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.247e-05/0.2656, allocations: 31.62 kB / 434.4 MB, free: 3.262 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.461e-05/0.2656, allocations: 39.36 kB / 434.4 MB, free: 3.211 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2656, allocations: 0 / 434.4 MB, free: 3.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.915e-05/0.2657, allocations: 53.73 kB / 434.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.2657, allocations: 7.938 kB / 434.5 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.2657, allocations: 7.969 kB / 434.5 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.2658, allocations: 7.984 kB / 434.5 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.924e-05/0.2658, allocations: 3.938 kB / 434.5 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.2658, allocations: 4 kB / 434.5 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.743e-05/0.2658, allocations: 0 / 434.5 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.2658, allocations: 4 kB / 434.5 MB, free: 3.117 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.0001546/0.266, allocations: 114 kB / 434.6 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.274e-05/0.2661, allocations: 57.58 kB / 434.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/0.2661, allocations: 7.688 kB / 434.7 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.2661, allocations: 0 / 434.7 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.2661, allocations: 4.25 kB / 434.7 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.2661, allocations: 3.984 kB / 434.7 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.2663, allocations: 128.8 kB / 434.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.2663, allocations: 0 / 434.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.892e-05/0.2663, allocations: 3.938 kB / 434.8 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2663, allocations: 3.938 kB / 434.8 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.2663, allocations: 4 kB / 434.8 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2663, allocations: 4 kB / 434.8 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.2663, allocations: 0 / 434.8 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.2664, allocations: 77.11 kB / 434.9 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.355e-05/0.2664, allocations: 7.953 kB / 434.9 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.2665, allocations: 3.938 kB / 434.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.8e-05/0.2665, allocations: 0 / 434.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.675e-06/0.2665, allocations: 0 / 434.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.2665, allocations: 8 kB / 434.9 MB, free: 2.617 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.727e-05/0.2665, allocations: 87.27 kB / 435 MB, free: 2.531 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2665, allocations: 3.938 kB / 435 MB, free: 2.527 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001776/0.2667, allocations: 0 / 435 MB, free: 2.527 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.0005477/0.2673, allocations: 0.6201 MB / 435.6 MB, free: 1.875 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.61e-05/0.2674, allocations: 31.86 kB / 435.7 MB, free: 1.844 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2674, allocations: 0 / 435.7 MB, free: 1.844 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.91e-07/0.2674, allocations: 0 / 435.7 MB, free: 1.844 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.2676, allocations: 20.02 kB / 435.7 MB, free: 1.824 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.2687, allocations: 1.15 MB / 436.8 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.269, allocations: 0.6807 MB / 437.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.402e-05/0.269, allocations: 0 / 437.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.53e-05/0.2691, allocations: 15.44 kB / 437.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2691, allocations: 0 / 437.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02693/0.296, allocations: 1.347 MB / 438.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.95, allocations: 11.36 kB / 438.9 MB, free: 14.61 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.477204655002424]