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.001674/0.001674, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002155/0.002155, allocations: 209.3 kB / 23.73 MB, free: 4.523 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.439/1.439, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.001497/0.001497, allocations: 47.92 kB / 377.7 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2488, allocations: 53.37 MB / 431.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002758/0.2516, allocations: 1.444 MB / 432.5 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002672/0.2518, allocations: 99.69 kB / 432.6 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.748e-05/0.2519, allocations: 3.938 kB / 432.6 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.655e-05/0.2519, allocations: 0 / 432.6 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.533e-05/0.252, allocations: 7.938 kB / 432.6 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.2522, allocations: 23.91 kB / 432.7 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.878e-05/0.2523, allocations: 35.86 kB / 432.7 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.398e-05/0.2523, allocations: 11.78 kB / 432.7 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.475e-05/0.2524, allocations: 8 kB / 432.7 MB, free: 5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.797e-05/0.2524, allocations: 11.94 kB / 432.7 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.2524, allocations: 0 / 432.7 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.278e-06/0.2524, allocations: 4 kB / 432.7 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/0.2524, allocations: 7.922 kB / 432.7 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.927e-05/0.2525, allocations: 11.94 kB / 432.7 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.81e-05/0.2526, allocations: 23.89 kB / 432.8 MB, free: 4.941 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.2526, allocations: 0 / 432.8 MB, free: 4.941 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.516e-06/0.2526, allocations: 4 kB / 432.8 MB, free: 4.938 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.2526, allocations: 4 kB / 432.8 MB, free: 4.934 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.0003858/0.253, allocations: 260.2 kB / 433 MB, free: 4.648 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.253, allocations: 8.031 kB / 433 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.427e-05/0.253, allocations: 30.75 kB / 433.1 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.353e-05/0.2531, allocations: 4.938 kB / 433.1 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.2533, allocations: 126.4 kB / 433.2 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.2533, allocations: 4.375 kB / 433.2 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.2533, allocations: 384 / 433.2 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.2536, allocations: 103.9 kB / 433.3 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.2536, allocations: 3.938 kB / 433.3 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.2536, allocations: 0 / 433.3 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.2536, allocations: 4 kB / 433.3 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.066e-05/0.2537, allocations: 15.98 kB / 433.3 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.2538, allocations: 124.8 kB / 433.4 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.2539, allocations: 42.5 kB / 433.5 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.19e-05/0.254, allocations: 28.86 kB / 433.5 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.254, allocations: 0 / 433.5 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.254, allocations: 38.56 kB / 433.6 MB, free: 4.016 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.254, allocations: 0 / 433.6 MB, free: 4.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001902/0.2542, allocations: 65.58 kB / 433.6 MB, free: 3.945 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.2543, allocations: 59.39 kB / 433.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.801e-05/0.2544, allocations: 97.86 kB / 433.8 MB, free: 3.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.2544, allocations: 25.7 kB / 433.8 MB, free: 3.738 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.514e-05/0.2544, allocations: 88.12 kB / 433.9 MB, free: 3.648 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.426e-06/0.2544, allocations: 7.984 kB / 433.9 MB, free: 3.641 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/0.2545, allocations: 21.66 kB / 433.9 MB, free: 3.613 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.2546, allocations: 318.8 kB / 434.2 MB, free: 3.293 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.22e-05/0.2546, allocations: 4 kB / 434.2 MB, free: 3.289 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.125e-05/0.2547, allocations: 27.61 kB / 434.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.462e-05/0.2547, allocations: 35.38 kB / 434.3 MB, free: 3.203 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2547, allocations: 0 / 434.3 MB, free: 3.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.359e-05/0.2548, allocations: 61.91 kB / 434.3 MB, free: 3.137 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.2548, allocations: 7.938 kB / 434.4 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-06/0.2548, allocations: 0 / 434.4 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.2548, allocations: 4.094 kB / 434.4 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.873e-05/0.2549, allocations: 11.98 kB / 434.4 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.2549, allocations: 3.984 kB / 434.4 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.767e-05/0.2549, allocations: 0 / 434.4 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.2549, allocations: 4 kB / 434.4 MB, free: 3.105 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 7.728e-05/0.255, allocations: 113.8 kB / 434.5 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.423e-05/0.2551, allocations: 61.66 kB / 434.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.537e-05/0.2551, allocations: 11.69 kB / 434.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.2551, allocations: 0 / 434.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.2551, allocations: 0 / 434.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.2551, allocations: 0 / 434.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.715e-05/0.2552, allocations: 124.8 kB / 434.7 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2552, allocations: 0 / 434.7 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.903e-05/0.2552, allocations: 4 kB / 434.7 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.2552, allocations: 3.938 kB / 434.7 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.2552, allocations: 0 / 434.7 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2552, allocations: 0 / 434.7 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2552, allocations: 0 / 434.7 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.2554, allocations: 89.05 kB / 434.8 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.255e-06/0.2554, allocations: 3.953 kB / 434.8 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.2554, allocations: 7.938 kB / 434.8 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.13e-05/0.2554, allocations: 4 kB / 434.8 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.424e-06/0.2554, allocations: 3.938 kB / 434.8 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.2554, allocations: 0 / 434.8 MB, free: 2.605 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.207e-05/0.2554, allocations: 79.28 kB / 434.9 MB, free: 2.527 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2554, allocations: 0 / 434.9 MB, free: 2.527 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001866/0.2556, allocations: 8 kB / 434.9 MB, free: 2.52 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.0004394/0.2561, allocations: 0.6318 MB / 435.5 MB, free: 1.855 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.919e-05/0.2562, allocations: 19.98 kB / 435.5 MB, free: 1.836 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2562, allocations: 0 / 435.5 MB, free: 1.836 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.625e-06/0.2562, allocations: 3.938 kB / 435.5 MB, free: 1.832 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.2564, allocations: 24.67 kB / 435.6 MB, free: 1.812 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009893/0.2574, allocations: 1.146 MB / 436.7 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.326e-05/0.2574, allocations: 71.53 kB / 436.8 MB, free: 488 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.192e-05/0.2574, allocations: 0 / 436.8 MB, free: 488 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.2575, allocations: 11.44 kB / 436.8 MB, free: 476 kB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2575, allocations: 0 / 436.8 MB, free: 476 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02732/0.2848, allocations: 1.751 MB / 438.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.04, allocations: 13.22 kB / 438.6 MB, free: 14.84 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.549690441024723]