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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001743/0.001743, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002279/0.002279, allocations: 207.4 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 230.5 MB / 258.2 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 59.89 kB / 378.6 MB, free: 3.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3128, allocations: 53.41 MB / 432 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003577/0.3164, allocations: 1.505 MB / 433.5 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.3175, allocations: 0.4948 MB / 434 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.415e-05/0.3175, allocations: 3.938 kB / 434 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.216e-05/0.3176, allocations: 7.938 kB / 434 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001771/0.3178, allocations: 15.84 kB / 434 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.3179, allocations: 35.91 kB / 434 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.3181, allocations: 47.84 kB / 434.1 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.3182, allocations: 8 kB / 434.1 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.792e-05/0.3183, allocations: 23.92 kB / 434.1 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.562e-05/0.3183, allocations: 27.84 kB / 434.1 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.3183, allocations: 4 kB / 434.1 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.314e-05/0.3184, allocations: 8 kB / 434.1 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.366e-05/0.3184, allocations: 19.86 kB / 434.2 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.098e-05/0.3184, allocations: 15.94 kB / 434.2 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.3186, allocations: 51.59 kB / 434.2 MB, free: 4.445 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3186, allocations: 0 / 434.2 MB, free: 4.445 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3186, allocations: 0 / 434.2 MB, free: 4.445 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.3186, allocations: 0 / 434.2 MB, free: 4.445 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.0006207/0.3192, allocations: 307.2 kB / 434.5 MB, free: 4.121 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3192, allocations: 8.031 kB / 434.5 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.485e-05/0.3193, allocations: 192 / 434.5 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.912e-05/0.3193, allocations: 38.75 kB / 434.6 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.05e-05/0.3193, allocations: 4.891 kB / 434.6 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.3196, allocations: 130.4 kB / 434.7 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.3196, allocations: 4.375 kB / 434.7 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.3196, allocations: 4.359 kB / 434.7 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004221/0.3201, allocations: 143.2 kB / 434.9 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3201, allocations: 0 / 434.9 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.3201, allocations: 0 / 434.9 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.3201, allocations: 11.98 kB / 434.9 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.3202, allocations: 27.98 kB / 434.9 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001975/0.3204, allocations: 136.7 kB / 435 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.3206, allocations: 58.55 kB / 435.1 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.117e-05/0.3207, allocations: 28.84 kB / 435.1 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.3207, allocations: 3.938 kB / 435.1 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.3207, allocations: 34.56 kB / 435.2 MB, free: 3.391 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.3207, allocations: 4 kB / 435.2 MB, free: 3.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003253/0.3211, allocations: 89.56 kB / 435.2 MB, free: 3.293 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.504e-05/0.3211, allocations: 55.41 kB / 435.3 MB, free: 3.227 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.3213, allocations: 113.8 kB / 435.4 MB, free: 3.105 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.3213, allocations: 25.7 kB / 435.4 MB, free: 3.074 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.3213, allocations: 84.14 kB / 435.5 MB, free: 2.988 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.3214, allocations: 8 kB / 435.5 MB, free: 2.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.3214, allocations: 21.7 kB / 435.5 MB, free: 2.953 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3216, allocations: 314.8 kB / 435.9 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.9e-05/0.3216, allocations: 7.984 kB / 435.9 MB, free: 2.629 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.77e-05/0.3216, allocations: 49.14 kB / 435.9 MB, free: 2.562 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.381e-05/0.3217, allocations: 57.09 kB / 436 MB, free: 2.488 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3217, allocations: 0 / 436 MB, free: 2.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00013/0.3218, allocations: 81.45 kB / 436 MB, free: 2.402 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.3219, allocations: 11.98 kB / 436.1 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.3219, allocations: 0 / 436.1 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.3219, allocations: 4 kB / 436.1 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.979e-05/0.322, allocations: 7.938 kB / 436.1 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/0.322, allocations: 4 kB / 436.1 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.307e-05/0.322, allocations: 3.938 kB / 436.1 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.322, allocations: 4 kB / 436.1 MB, free: 2.367 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 9.678e-05/0.3221, allocations: 118 kB / 436.2 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.3223, allocations: 81.5 kB / 436.3 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.852e-05/0.3223, allocations: 8.375 kB / 436.3 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.3223, allocations: 4 kB / 436.3 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3223, allocations: 0 / 436.3 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3223, allocations: 0 / 436.3 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.3224, allocations: 137 kB / 436.4 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3224, allocations: 3.938 kB / 436.4 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.932e-05/0.3225, allocations: 12 kB / 436.4 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3225, allocations: 3.938 kB / 436.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.3225, allocations: 7.984 kB / 436.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3225, allocations: 0 / 436.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3225, allocations: 0 / 436.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.3227, allocations: 101 kB / 436.5 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.485e-05/0.3227, allocations: 3.938 kB / 436.5 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.3227, allocations: 4 kB / 436.6 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.927e-05/0.3228, allocations: 23.97 kB / 436.6 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-06/0.3228, allocations: 0 / 436.6 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.3228, allocations: 0 / 436.6 MB, free: 1.789 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.473e-05/0.3229, allocations: 87.28 kB / 436.7 MB, free: 1.703 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3229, allocations: 0 / 436.7 MB, free: 1.703 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002033/0.3231, allocations: 8 kB / 436.7 MB, free: 1.695 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.000555/0.3236, allocations: 0.6592 MB / 437.3 MB, free: 1.008 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001502/0.3238, allocations: 43.92 kB / 437.4 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3238, allocations: 0 / 437.4 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.976e-06/0.3238, allocations: 3.938 kB / 437.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.3241, allocations: 43.94 kB / 437.4 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.3254, allocations: 1.251 MB / 438.7 MB, free: 15.56 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.3257, allocations: 0.6885 MB / 439.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.14e-05/0.3257, allocations: 0 / 439.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.234e-05/0.3257, allocations: 15.44 kB / 439.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3257, allocations: 0 / 439.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.3477, allocations: 1.83 MB / 441.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.04, allocations: 7.797 kB / 441.2 MB, free: 13.12 MB / 350.1 MB " [Timeout remaining time 649] (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 --stepSize=0.000199561 --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) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.659429331019055]