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.001155/0.001155, allocations: 116.7 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001335/0.001335, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001068, allocations: 60.08 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.321, allocations: 50.54 MB / 408.7 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002654/0.3236, allocations: 1.492 MB / 410.2 MB, free: 56 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008588/0.3245, allocations: 486.7 kB / 410.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.203e-05/0.3246, allocations: 0 / 410.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.87e-05/0.3247, allocations: 3.938 kB / 410.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.3248, allocations: 19.91 kB / 410.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.325, allocations: 31.92 kB / 410.8 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.3251, allocations: 55.77 kB / 410.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.837e-05/0.3252, allocations: 12 kB / 410.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.422e-05/0.3253, allocations: 23.86 kB / 410.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.757e-05/0.3253, allocations: 23.91 kB / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.3254, allocations: 4 kB / 410.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.149e-05/0.3254, allocations: 4 kB / 410.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.094e-05/0.3254, allocations: 15.92 kB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.434e-05/0.3254, allocations: 19.92 kB / 410.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.3255, allocations: 49.5 kB / 411 MB, free: 15.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3256, allocations: 0 / 411 MB, free: 15.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3256, allocations: 0 / 411 MB, free: 15.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.3256, allocations: 0 / 411 MB, free: 15.32 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.0005427/0.3261, allocations: 383.4 kB / 411.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.3262, allocations: 12.02 kB / 411.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.617e-05/0.3262, allocations: 30.75 kB / 411.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.3263, allocations: 12.84 kB / 411.4 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.3265, allocations: 184.2 kB / 411.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.3265, allocations: 4.375 kB / 411.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.3265, allocations: 4.375 kB / 411.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003439/0.3269, allocations: 151.3 kB / 411.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.3269, allocations: 0 / 411.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.3269, allocations: 4 kB / 411.7 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.3269, allocations: 4 kB / 411.7 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.578e-05/0.327, allocations: 23.97 kB / 411.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001404/0.3272, allocations: 165.7 kB / 411.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.3274, allocations: 143.7 kB / 412.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.894e-05/0.3275, allocations: 24.86 kB / 412.1 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.3275, allocations: 3.984 kB / 412.1 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.3275, allocations: 38.5 kB / 412.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.3275, allocations: 3.938 kB / 412.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002611/0.3278, allocations: 93.52 kB / 412.2 MB, free: 13.85 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.518e-05/0.3279, allocations: 55.41 kB / 412.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.844e-05/0.3279, allocations: 113.8 kB / 412.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.328, allocations: 25.7 kB / 412.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.84e-05/0.328, allocations: 84.14 kB / 412.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.342e-05/0.328, allocations: 4 kB / 412.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.3281, allocations: 21.7 kB / 412.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.3282, allocations: 314.8 kB / 412.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.62e-05/0.3282, allocations: 8 kB / 412.8 MB, free: 13.19 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.217e-05/0.3282, allocations: 45.14 kB / 412.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.29e-05/0.3283, allocations: 57.09 kB / 412.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3283, allocations: 3.938 kB / 412.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001076/0.3284, allocations: 81.41 kB / 413 MB, free: 12.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.3285, allocations: 4 kB / 413 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.3285, allocations: 3.984 kB / 413 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.3285, allocations: 4.188 kB / 413 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.978e-05/0.3285, allocations: 12 kB / 413.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.3286, allocations: 0 / 413.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.448e-05/0.3286, allocations: 7.938 kB / 413.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.3286, allocations: 0 / 413.1 MB, free: 12.93 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 7.786e-05/0.3287, allocations: 121.7 kB / 413.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.3288, allocations: 77.55 kB / 413.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/0.3289, allocations: 8.375 kB / 413.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.3289, allocations: 4 kB / 413.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3289, allocations: 4 kB / 413.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3289, allocations: 0 / 413.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.183e-05/0.329, allocations: 165.5 kB / 413.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.329, allocations: 0 / 413.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.028e-05/0.3291, allocations: 15.94 kB / 413.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3291, allocations: 0 / 413.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.3291, allocations: 0 / 413.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3291, allocations: 320 / 413.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3291, allocations: 0 / 413.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.3293, allocations: 105 kB / 413.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.762e-05/0.3293, allocations: 88.89 kB / 413.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.3293, allocations: 3.984 kB / 413.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.3295, allocations: 19.98 kB / 413.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-06/0.3295, allocations: 0 / 413.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.3295, allocations: 0 / 413.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.777e-05/0.3295, allocations: 91.28 kB / 413.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3296, allocations: 0 / 413.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001955/0.3298, allocations: 8 kB / 413.8 MB, free: 12.13 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.0004883/0.3302, allocations: 0.6553 MB / 414.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001314/0.3304, allocations: 39.98 kB / 414.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3304, allocations: 4 kB / 414.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.964e-06/0.3304, allocations: 3.984 kB / 414.5 MB, free: 11.4 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.3307, allocations: 40.09 kB / 414.5 MB, free: 11.37 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.3317, allocations: 1.251 MB / 415.7 MB, free: 10 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.332, allocations: 0.6846 MB / 416.4 MB, free: 9.289 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.304e-05/0.332, allocations: 12.08 kB / 416.4 MB, free: 9.277 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.941e-05/0.3321, allocations: 11.44 kB / 416.5 MB, free: 9.266 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3321, allocations: 4 kB / 416.5 MB, free: 9.262 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01689/0.349, allocations: 1.692 MB / 418.2 MB, free: 7.711 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.394/7.743, allocations: 4.062 kB / 418.2 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 & /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