Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.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.TimeBasedPulse,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00138/0.00138, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001622/0.001622, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 67.88 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2495, allocations: 50.53 MB / 408.8 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002817/0.2524, allocations: 1.483 MB / 410.2 MB, free: 76 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008718/0.2533, allocations: 498.7 kB / 410.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.887e-05/0.2534, allocations: 0 / 410.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.961e-05/0.2534, allocations: 3.938 kB / 410.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.2536, allocations: 11.92 kB / 410.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.2538, allocations: 35.91 kB / 410.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.2539, allocations: 55.78 kB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.727e-05/0.254, allocations: 8 kB / 410.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.015e-05/0.2541, allocations: 27.84 kB / 410.9 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.813e-05/0.2542, allocations: 19.92 kB / 410.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.2542, allocations: 8 kB / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.201e-05/0.2542, allocations: 4 kB / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.378e-05/0.2542, allocations: 15.92 kB / 410.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.501e-05/0.2543, allocations: 15.94 kB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.2544, allocations: 50.89 kB / 411 MB, free: 15.33 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2544, allocations: 4 kB / 411 MB, free: 15.33 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2544, allocations: 0 / 411 MB, free: 15.33 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.2544, allocations: 0 / 411 MB, free: 15.33 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005637/0.255, allocations: 375.3 kB / 411.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.255, allocations: 12.03 kB / 411.4 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.281e-05/0.2551, allocations: 34.75 kB / 411.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.2551, allocations: 8.891 kB / 411.4 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.2554, allocations: 184.2 kB / 411.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.2554, allocations: 8.375 kB / 411.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.2554, allocations: 4.375 kB / 411.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003405/0.2557, allocations: 147.3 kB / 411.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.2558, allocations: 0 / 411.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.2558, allocations: 0 / 411.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.2558, allocations: 0 / 411.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.2559, allocations: 35.98 kB / 411.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/0.256, allocations: 165.6 kB / 411.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.2563, allocations: 131.7 kB / 412.1 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.692e-05/0.2564, allocations: 32.84 kB / 412.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.2564, allocations: 7.984 kB / 412.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.2564, allocations: 42.44 kB / 412.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.2564, allocations: 0 / 412.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002644/0.2567, allocations: 89.56 kB / 412.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.2568, allocations: 59.39 kB / 412.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.866e-05/0.2568, allocations: 109.8 kB / 412.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.2569, allocations: 33.69 kB / 412.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.2569, allocations: 80.14 kB / 412.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.2569, allocations: 4 kB / 412.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.257, allocations: 25.72 kB / 412.5 MB, free: 13.53 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.2571, allocations: 314.8 kB / 412.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.752e-05/0.2571, allocations: 8 kB / 412.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.238e-05/0.2571, allocations: 45.14 kB / 412.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.892e-05/0.2572, allocations: 57.03 kB / 413 MB, free: 13.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2572, allocations: 0 / 413 MB, free: 13.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001111/0.2573, allocations: 81.61 kB / 413 MB, free: 12.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.2574, allocations: 14.38 kB / 413 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.2574, allocations: 0 / 413 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.2574, allocations: 0 / 413 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.884e-05/0.2574, allocations: 8 kB / 413.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.2575, allocations: 7.984 kB / 413.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.48e-05/0.2575, allocations: 7.875 kB / 413.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.2575, allocations: 7.984 kB / 413.1 MB, free: 12.94 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,pulse.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.427e-05/0.2576, allocations: 121.7 kB / 413.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.2577, allocations: 77.58 kB / 413.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/0.2578, allocations: 12.36 kB / 413.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2578, allocations: 0 / 413.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.2578, allocations: 0 / 413.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2578, allocations: 0 / 413.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.461e-05/0.2579, allocations: 161.7 kB / 413.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2579, allocations: 320 / 413.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.27e-05/0.258, allocations: 15.92 kB / 413.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.258, allocations: 0 / 413.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.258, allocations: 0 / 413.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.258, allocations: 4 kB / 413.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.258, allocations: 4 kB / 413.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.2582, allocations: 104.9 kB / 413.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.728e-05/0.2582, allocations: 85.05 kB / 413.6 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.2583, allocations: 0 / 413.6 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.987e-05/0.2584, allocations: 11.98 kB / 413.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.354e-06/0.2584, allocations: 4 kB / 413.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.2584, allocations: 4 kB / 413.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.378e-05/0.2584, allocations: 87.27 kB / 413.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2584, allocations: 0 / 413.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002016/0.2586, allocations: 12 kB / 413.8 MB, free: 12.14 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 (pulse.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0005272/0.2592, allocations: 0.6631 MB / 414.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000137/0.2593, allocations: 39.92 kB / 414.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.2593, allocations: 0 / 414.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.81e-07/0.2593, allocations: 0 / 414.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.2597, allocations: 43.06 kB / 414.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009505/0.2606, allocations: 1.259 MB / 415.8 MB, free: 10 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/0.2608, allocations: 0.6846 MB / 416.5 MB, free: 9.293 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.243e-05/0.2609, allocations: 7.984 kB / 416.5 MB, free: 9.285 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.956e-05/0.2609, allocations: 15.44 kB / 416.5 MB, free: 9.27 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2609, allocations: 0 / 416.5 MB, free: 9.27 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01714/0.2781, allocations: 1.664 MB / 418.1 MB, free: 7.746 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.493/7.771, allocations: 6.609 kB / 418.1 MB, free: 7.742 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_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_TimeBasedPulse.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches