Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002398/0.002398, allocations: 205.8 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.372/1.372, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 47.92 kB / 377.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2558, allocations: 53.37 MB / 431.1 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002863/0.2587, allocations: 1.49 MB / 432.6 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008437/0.2595, allocations: 458.8 kB / 433 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.389e-05/0.2596, allocations: 4 kB / 433 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.173e-05/0.2596, allocations: 7.922 kB / 433 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001499/0.2598, allocations: 15.88 kB / 433 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.26, allocations: 31.91 kB / 433.1 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.2601, allocations: 51.84 kB / 433.1 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.441e-05/0.2602, allocations: 15.73 kB / 433.1 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.891e-05/0.2603, allocations: 27.91 kB / 433.2 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.895e-05/0.2603, allocations: 23.91 kB / 433.2 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.2603, allocations: 4 kB / 433.2 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.09e-05/0.2603, allocations: 4 kB / 433.2 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.082e-05/0.2604, allocations: 15.94 kB / 433.2 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.692e-05/0.2604, allocations: 19.86 kB / 433.2 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.2606, allocations: 43.81 kB / 433.3 MB, free: 4.422 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2606, allocations: 0 / 433.3 MB, free: 4.422 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2606, allocations: 0 / 433.3 MB, free: 4.422 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.2606, allocations: 0 / 433.3 MB, free: 4.422 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.0006087/0.2612, allocations: 310.2 kB / 433.6 MB, free: 4.094 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.2612, allocations: 8.031 kB / 433.6 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.336e-05/0.2613, allocations: 42.73 kB / 433.6 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.692e-05/0.2613, allocations: 4.891 kB / 433.6 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.2615, allocations: 130.5 kB / 433.8 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.2615, allocations: 4.375 kB / 433.8 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.2616, allocations: 8.312 kB / 433.8 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003804/0.2619, allocations: 147.3 kB / 433.9 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.2619, allocations: 0 / 433.9 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.262, allocations: 0 / 433.9 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.262, allocations: 0 / 433.9 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.2621, allocations: 27.98 kB / 433.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.2622, allocations: 124.8 kB / 434.1 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.2624, allocations: 58.61 kB / 434.1 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.317e-05/0.2625, allocations: 36.78 kB / 434.2 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.2625, allocations: 0 / 434.2 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.2625, allocations: 42.48 kB / 434.2 MB, free: 3.363 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 8.51e-07/0.2625, allocations: 3.938 kB / 434.2 MB, free: 3.359 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.000252/0.2628, allocations: 85.62 kB / 434.3 MB, free: 3.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/0.2628, allocations: 55.41 kB / 434.3 MB, free: 3.203 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.041e-05/0.2629, allocations: 109.8 kB / 434.5 MB, free: 3.086 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.2629, allocations: 29.64 kB / 434.5 MB, free: 3.051 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.292e-05/0.263, allocations: 88.14 kB / 434.6 MB, free: 2.961 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.025e-05/0.263, allocations: 0 / 434.6 MB, free: 2.961 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.263, allocations: 25.7 kB / 434.6 MB, free: 2.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.2632, allocations: 322.8 kB / 434.9 MB, free: 2.605 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.884e-05/0.2632, allocations: 7.984 kB / 434.9 MB, free: 2.598 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.402e-05/0.2633, allocations: 45.41 kB / 435 MB, free: 2.535 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.353e-05/0.2633, allocations: 53.09 kB / 435 MB, free: 2.465 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2633, allocations: 4 kB / 435 MB, free: 2.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001119/0.2634, allocations: 89.44 kB / 435.1 MB, free: 2.367 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.2634, allocations: 4 kB / 435.1 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2634, allocations: 0 / 435.1 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.2635, allocations: 4 kB / 435.1 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.63e-05/0.2635, allocations: 11.94 kB / 435.1 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.2635, allocations: 0 / 435.1 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.405e-05/0.2635, allocations: 7.938 kB / 435.1 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.2636, allocations: 192 / 435.1 MB, free: 2.34 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.365e-05/0.2636, allocations: 117.8 kB / 435.2 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.2638, allocations: 77.56 kB / 435.3 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/0.2638, allocations: 16.31 kB / 435.3 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2638, allocations: 0 / 435.3 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-06/0.2638, allocations: 0 / 435.3 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2638, allocations: 0 / 435.3 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.2639, allocations: 124.8 kB / 435.5 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2639, allocations: 0 / 435.5 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.249e-05/0.264, allocations: 15.92 kB / 435.5 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.264, allocations: 4 kB / 435.5 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.264, allocations: 0 / 435.5 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.264, allocations: 0 / 435.5 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.264, allocations: 0 / 435.5 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.2642, allocations: 101.1 kB / 435.6 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.465e-05/0.2643, allocations: 7.938 kB / 435.6 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.2643, allocations: 0 / 435.6 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.592e-05/0.2644, allocations: 16.05 kB / 435.6 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.067e-06/0.2644, allocations: 15.98 kB / 435.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.2644, allocations: 3.938 kB / 435.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.351e-05/0.2644, allocations: 87.28 kB / 435.7 MB, free: 1.684 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2644, allocations: 0 / 435.7 MB, free: 1.684 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001938/0.2646, allocations: 11.94 kB / 435.7 MB, free: 1.672 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.0006752/0.2653, allocations: 0.6593 MB / 436.4 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001323/0.2654, allocations: 36.3 kB / 436.4 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2654, allocations: 64 / 436.4 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.2654, allocations: 4 kB / 436.4 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.2658, allocations: 42.19 kB / 436.5 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.2669, allocations: 1.243 MB / 437.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.826e-05/0.267, allocations: 75.28 kB / 437.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.754e-05/0.267, allocations: 0 / 437.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.609e-05/0.2671, allocations: 19.44 kB / 437.8 MB, free: 15.44 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2671, allocations: 3.938 kB / 437.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03423/0.3013, allocations: 2.234 MB / 440 MB, free: 13.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/10.58, allocations: 3.25 kB / 440 MB, free: 13.34 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 12.872125465015415]