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.001483/0.001483, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002006/0.002006, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 59.91 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2583, allocations: 50.54 MB / 408.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002812/0.2611, allocations: 1.488 MB / 410.2 MB, free: 36 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008918/0.2621, allocations: 486.7 kB / 410.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.867e-05/0.2622, allocations: 4 kB / 410.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.32e-05/0.2623, allocations: 3.938 kB / 410.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.2624, allocations: 3.938 kB / 410.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.2626, allocations: 43.89 kB / 410.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.2628, allocations: 51.8 kB / 410.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.2629, allocations: 11.98 kB / 410.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.951e-05/0.263, allocations: 27.84 kB / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.34e-05/0.263, allocations: 23.92 kB / 410.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.2631, allocations: 4 kB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.403e-05/0.2631, allocations: 4 kB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.844e-05/0.2631, allocations: 11.92 kB / 410.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.063e-05/0.2632, allocations: 19.94 kB / 410.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.2633, allocations: 45.48 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2633, allocations: 8 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2633, allocations: 0 / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.2633, allocations: 0 / 411 MB, free: 15.3 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.0005842/0.2639, allocations: 379.4 kB / 411.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.264, allocations: 8.031 kB / 411.4 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.229e-05/0.264, allocations: 34.75 kB / 411.4 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.8e-05/0.264, allocations: 8.844 kB / 411.4 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.2643, allocations: 188.1 kB / 411.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.2643, allocations: 4.375 kB / 411.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.2643, allocations: 4.375 kB / 411.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003526/0.2647, allocations: 147.3 kB / 411.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.2647, allocations: 0 / 411.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.2647, allocations: 8 kB / 411.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.2647, allocations: 3.984 kB / 411.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.564e-05/0.2648, allocations: 23.98 kB / 411.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001446/0.265, allocations: 161.7 kB / 411.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.2652, allocations: 143.7 kB / 412.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.584e-05/0.2653, allocations: 28.84 kB / 412.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.2653, allocations: 7.984 kB / 412.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.2654, allocations: 34.5 kB / 412.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.2654, allocations: 3.938 kB / 412.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002636/0.2656, allocations: 89.52 kB / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.2657, allocations: 59.41 kB / 412.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.865e-05/0.2658, allocations: 113.8 kB / 412.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.2658, allocations: 25.7 kB / 412.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.951e-05/0.2659, allocations: 92.12 kB / 412.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.2659, allocations: 0 / 412.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.2659, allocations: 17.72 kB / 412.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.2661, allocations: 322.8 kB / 412.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.773e-05/0.2661, allocations: 4 kB / 412.8 MB, free: 13.17 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.991e-05/0.2661, allocations: 41.16 kB / 412.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.574e-05/0.2662, allocations: 65.02 kB / 412.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2662, allocations: 0 / 412.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001096/0.2663, allocations: 81.66 kB / 413 MB, free: 12.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.2663, allocations: 7.125 kB / 413 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.2664, allocations: 4 kB / 413 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.2664, allocations: 0 / 413 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.944e-05/0.2664, allocations: 12.19 kB / 413.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.2664, allocations: 4 kB / 413.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.556e-05/0.2665, allocations: 7.938 kB / 413.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.2665, allocations: 4 kB / 413.1 MB, free: 12.91 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.0001/0.2666, allocations: 129.6 kB / 413.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.2667, allocations: 65.62 kB / 413.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.409e-05/0.2668, allocations: 12.38 kB / 413.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2668, allocations: 0 / 413.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2668, allocations: 0 / 413.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2668, allocations: 7.984 kB / 413.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.2669, allocations: 161.6 kB / 413.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.2669, allocations: 4 kB / 413.4 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.175e-05/0.267, allocations: 11.94 kB / 413.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.267, allocations: 0 / 413.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.267, allocations: 3.984 kB / 413.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.267, allocations: 0 / 413.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.267, allocations: 0 / 413.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.2672, allocations: 101 kB / 413.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.478e-05/0.2673, allocations: 88.89 kB / 413.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.2673, allocations: 4 kB / 413.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.947e-05/0.2674, allocations: 15.98 kB / 413.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-06/0.2674, allocations: 0 / 413.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.2674, allocations: 4 kB / 413.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.753e-05/0.2675, allocations: 87.27 kB / 413.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2675, allocations: 4 kB / 413.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002004/0.2677, 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.0005503/0.2682, allocations: 0.6594 MB / 414.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001348/0.2684, allocations: 44.23 kB / 414.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2684, allocations: 0 / 414.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.41e-07/0.2684, allocations: 0 / 414.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.2687, allocations: 36.02 kB / 414.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.2699, allocations: 1.258 MB / 415.8 MB, free: 9.977 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.2701, allocations: 0.6846 MB / 416.4 MB, free: 9.266 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.825e-05/0.2702, allocations: 0 / 416.4 MB, free: 9.266 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.169e-05/0.2702, allocations: 23.42 kB / 416.5 MB, free: 9.242 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2702, allocations: 0 / 416.5 MB, free: 9.242 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01844/0.2887, allocations: 1.686 MB / 418.1 MB, free: 7.695 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.484/7.772, allocations: 7.359 kB / 418.2 MB, free: 7.691 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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