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.00174/0.00174, allocations: 117.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.002068/0.002068, allocations: 200.6 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.431/1.431, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002881/0.002881, allocations: 59.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2689, allocations: 50.54 MB / 408.8 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.00277/0.2717, allocations: 1.487 MB / 410.2 MB, free: 28 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008457/0.2726, allocations: 486.8 kB / 410.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.061e-05/0.2726, allocations: 0 / 410.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.833e-05/0.2727, allocations: 11.92 kB / 410.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.2728, allocations: 11.92 kB / 410.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.273, allocations: 39.39 kB / 410.8 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001/0.2731, allocations: 47.8 kB / 410.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.2733, allocations: 19.98 kB / 410.8 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.53e-05/0.2733, allocations: 23.86 kB / 410.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.969e-05/0.2734, allocations: 23.91 kB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.2734, allocations: 4 kB / 410.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.458e-06/0.2734, allocations: 4 kB / 410.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.102e-05/0.2734, allocations: 15.92 kB / 410.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.545e-05/0.2735, allocations: 15.94 kB / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.2736, allocations: 50.89 kB / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2736, allocations: 0 / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2736, allocations: 0 / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.2736, allocations: 0 / 411 MB, free: 15.29 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.0005838/0.2742, allocations: 383.3 kB / 411.4 MB, free: 14.87 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.2743, allocations: 8.031 kB / 411.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.715e-05/0.2743, allocations: 34.75 kB / 411.4 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.2743, allocations: 12.89 kB / 411.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.2746, allocations: 192.2 kB / 411.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.2746, allocations: 4.375 kB / 411.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.2747, allocations: 4.375 kB / 411.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004572/0.2751, allocations: 147.3 kB / 411.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.2751, allocations: 4 kB / 411.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.2752, allocations: 4 kB / 411.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.2752, allocations: 4 kB / 411.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.2753, allocations: 19.98 kB / 411.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001898/0.2755, allocations: 165.7 kB / 411.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.2757, allocations: 139.7 kB / 412.1 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.402e-05/0.2758, allocations: 28.84 kB / 412.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.2758, allocations: 4 kB / 412.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.2759, allocations: 42.44 kB / 412.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.2759, allocations: 0 / 412.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.000282/0.2762, allocations: 89.56 kB / 412.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.009e-05/0.2762, allocations: 59.41 kB / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.2764, allocations: 105.8 kB / 412.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.2764, allocations: 25.7 kB / 412.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.2764, allocations: 88.14 kB / 412.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.2765, allocations: 7.984 kB / 412.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.2765, allocations: 17.72 kB / 412.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.2767, allocations: 318.8 kB / 412.8 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.743e-05/0.2767, allocations: 4 kB / 412.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.772e-05/0.2767, allocations: 45.14 kB / 412.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.585e-05/0.2768, allocations: 61.08 kB / 413 MB, free: 13.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2768, allocations: 3.938 kB / 413 MB, free: 13.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001153/0.277, allocations: 85.45 kB / 413 MB, free: 12.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.277, allocations: 6.188 kB / 413 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.277, allocations: 0 / 413 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.277, allocations: 4 kB / 413.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.796e-05/0.2771, allocations: 8 kB / 413.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2771, allocations: 0 / 413.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.398e-05/0.2771, allocations: 11.88 kB / 413.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.2771, allocations: 0 / 413.1 MB, free: 12.9 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 0.0001059/0.2772, allocations: 122 kB / 413.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.2774, allocations: 77.77 kB / 413.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.456e-05/0.2774, allocations: 8.375 kB / 413.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.2774, allocations: 4.062 kB / 413.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.2775, allocations: 4 kB / 413.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.2775, allocations: 3.984 kB / 413.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.2776, allocations: 161.7 kB / 413.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2776, allocations: 0 / 413.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.927e-05/0.2777, allocations: 11.94 kB / 413.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.2777, allocations: 4 kB / 413.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.2777, allocations: 3.984 kB / 413.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2777, allocations: 0 / 413.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2777, allocations: 0 / 413.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.2779, allocations: 104.9 kB / 413.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/0.278, allocations: 81.05 kB / 413.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.278, allocations: 4 kB / 413.6 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.2781, allocations: 19.98 kB / 413.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.825e-06/0.2781, allocations: 0 / 413.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.2781, allocations: 0 / 413.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.546e-05/0.2782, allocations: 91.27 kB / 413.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2782, allocations: 0 / 413.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001954/0.2784, allocations: 8 kB / 413.8 MB, free: 12.11 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.0006955/0.2791, allocations: 0.6631 MB / 414.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001509/0.2792, allocations: 43.92 kB / 414.5 MB, free: 11.37 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2793, allocations: 0 / 414.5 MB, free: 11.37 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.2793, allocations: 0 / 414.5 MB, free: 11.37 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.2796, allocations: 40.44 kB / 414.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.2811, allocations: 1.255 MB / 415.8 MB, free: 9.961 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.2814, allocations: 0.688 MB / 416.5 MB, free: 9.25 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.943e-05/0.2815, allocations: 0 / 416.5 MB, free: 9.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.572e-05/0.2815, allocations: 19.42 kB / 416.5 MB, free: 9.23 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2815, allocations: 0 / 416.5 MB, free: 9.23 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.306, allocations: 1.663 MB / 418.1 MB, free: 7.707 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.111/8.417, allocations: 2.812 kB / 418.1 MB, free: 7.707 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.1.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