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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001517/0.001517, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001576/0.001576, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 67.83 kB / 358.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.247, allocations: 50.54 MB / 408.8 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002568/0.2496, allocations: 1.437 MB / 410.2 MB, free: 80 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002877/0.2499, allocations: 95.83 kB / 410.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.078e-05/0.25, allocations: 4 kB / 410.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.37e-05/0.25, allocations: 3.844 kB / 410.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.808e-05/0.2501, allocations: 3.938 kB / 410.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.2503, allocations: 23.59 kB / 410.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.791e-05/0.2504, allocations: 23.92 kB / 410.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.747e-05/0.2505, allocations: 15.98 kB / 410.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.866e-05/0.2505, allocations: 15.92 kB / 410.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.907e-05/0.2506, allocations: 7.938 kB / 410.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.2506, allocations: 0 / 410.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.025e-06/0.2506, allocations: 4 kB / 410.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.2506, allocations: 4 kB / 410.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.443e-05/0.2507, allocations: 23.84 kB / 410.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.58e-05/0.2508, allocations: 27.84 kB / 410.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2508, allocations: 0 / 410.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2508, allocations: 0 / 410.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.2508, allocations: 0 / 410.4 MB, free: 15.83 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.000427/0.2512, allocations: 338.6 kB / 410.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.2513, allocations: 8.031 kB / 410.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.944e-05/0.2513, allocations: 34.75 kB / 410.8 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.472e-05/0.2514, allocations: 4.938 kB / 410.8 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.2516, allocations: 176.3 kB / 411 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.2516, allocations: 8.375 kB / 411 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.2516, allocations: 384 / 411 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.2519, allocations: 103.9 kB / 411.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.2519, allocations: 3.938 kB / 411.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.252, allocations: 4 kB / 411.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-06/0.252, allocations: 0 / 411.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.152e-05/0.252, allocations: 19.86 kB / 411.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.2522, allocations: 153.7 kB / 411.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.2524, allocations: 54.55 kB / 411.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.878e-05/0.2524, allocations: 16.89 kB / 411.3 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.2524, allocations: 4 kB / 411.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.2525, allocations: 34.56 kB / 411.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2525, allocations: 0 / 411.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002014/0.2527, allocations: 69.55 kB / 411.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.2528, allocations: 59.41 kB / 411.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.513e-05/0.2528, allocations: 105.8 kB / 411.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.2529, allocations: 25.7 kB / 411.6 MB, free: 14.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/0.2529, allocations: 80.14 kB / 411.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.809e-06/0.2529, allocations: 11.94 kB / 411.7 MB, free: 14.33 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.253, allocations: 13.72 kB / 411.7 MB, free: 14.31 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.2531, allocations: 318.8 kB / 412.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.107e-05/0.2531, allocations: 4 kB / 412.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.005e-05/0.2532, allocations: 23.44 kB / 412.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.704e-05/0.2532, allocations: 35.38 kB / 412.1 MB, free: 13.9 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2532, allocations: 4 kB / 412.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.992e-05/0.2533, allocations: 57.56 kB / 412.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.2533, allocations: 7.938 kB / 412.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.2533, allocations: 4 kB / 412.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.2534, allocations: 0 / 412.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.22e-05/0.2534, allocations: 8.234 kB / 412.2 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.2534, allocations: 0 / 412.2 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.149e-05/0.2534, allocations: 8 kB / 412.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.2535, allocations: 7.984 kB / 412.2 MB, free: 13.8 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 8.323e-05/0.2535, allocations: 114 kB / 412.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.63e-05/0.2537, allocations: 65.78 kB / 412.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.599e-05/0.2537, allocations: 7.5 kB / 412.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2537, allocations: 0 / 412.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2537, allocations: 0 / 412.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2537, allocations: 0 / 412.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.2538, allocations: 157.7 kB / 412.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2538, allocations: 0 / 412.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.898e-05/0.2539, allocations: 4 kB / 412.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2539, allocations: 7.938 kB / 412.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.2539, allocations: 0 / 412.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2539, allocations: 0 / 412.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2539, allocations: 0 / 412.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.254, allocations: 81.11 kB / 412.6 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.871e-05/0.2541, allocations: 88.94 kB / 412.7 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.2541, allocations: 11.88 kB / 412.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.867e-05/0.2541, allocations: 0 / 412.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.384e-06/0.2541, allocations: 4 kB / 412.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.2541, allocations: 4 kB / 412.7 MB, free: 13.15 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.436e-05/0.2542, allocations: 79.28 kB / 412.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.799e-06/0.2542, allocations: 0 / 412.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001798/0.2544, allocations: 11.94 kB / 412.8 MB, free: 13.06 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.0004265/0.2548, allocations: 0.6124 MB / 413.4 MB, free: 12.42 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001102/0.2549, allocations: 27.92 kB / 413.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2549, allocations: 0 / 413.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.2549, allocations: 0 / 413.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.2552, allocations: 20.02 kB / 413.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.2562, allocations: 1.15 MB / 414.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.2565, allocations: 0.6807 MB / 415.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.336e-05/0.2565, allocations: 0 / 415.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.2566, allocations: 7.438 kB / 415.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2566, allocations: 0 / 415.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02121/0.2778, allocations: 1.241 MB / 416.6 MB, free: 9.301 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.96/8.238, allocations: 11.92 kB / 416.6 MB, free: 9.289 MB / 334.1 MB (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.0004 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) 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) Reference file matches