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.001749/0.001749, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002033/0.002033, allocations: 203.7 kB / 23.72 MB, free: 4.391 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.495/1.495, allocations: 230.5 MB / 257.4 MB, free: 7.73 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="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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 75.81 kB / 377.7 MB, free: 2.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3031, allocations: 53.41 MB / 431.1 MB, free: 6.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002727/0.3058, allocations: 1.487 MB / 432.6 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009012/0.3067, allocations: 458.9 kB / 433.1 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.158e-05/0.3068, allocations: 0 / 433.1 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.602e-05/0.3068, allocations: 7.922 kB / 433.1 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.307, allocations: 15.88 kB / 433.1 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.3072, allocations: 35.84 kB / 433.1 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.3073, allocations: 51.84 kB / 433.2 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.3074, allocations: 19.77 kB / 433.2 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.6e-05/0.3074, allocations: 15.94 kB / 433.2 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.185e-05/0.3075, allocations: 31.84 kB / 433.3 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.3075, allocations: 4 kB / 433.3 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.352e-05/0.3075, allocations: 4 kB / 433.3 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.087e-05/0.3075, allocations: 7.938 kB / 433.3 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.094e-05/0.3076, allocations: 23.91 kB / 433.3 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.3077, allocations: 43.83 kB / 433.3 MB, free: 4.219 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3077, allocations: 0 / 433.3 MB, free: 4.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3077, allocations: 0 / 433.3 MB, free: 4.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.3077, allocations: 0 / 433.3 MB, free: 4.219 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.000588/0.3083, allocations: 304 kB / 433.6 MB, free: 3.895 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.3083, allocations: 15.98 kB / 433.6 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.357e-05/0.3084, allocations: 38.67 kB / 433.7 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.3084, allocations: 8.891 kB / 433.7 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.3087, allocations: 130.5 kB / 433.8 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.3087, allocations: 8.375 kB / 433.8 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.3087, allocations: 8.312 kB / 433.8 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003704/0.3091, allocations: 139.3 kB / 434 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3091, allocations: 0 / 434 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.3091, allocations: 4 kB / 434 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3091, allocations: 0 / 434 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.3092, allocations: 31.98 kB / 434 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/0.3093, allocations: 132.8 kB / 434.1 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.3095, allocations: 54.61 kB / 434.2 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.353e-05/0.3096, allocations: 32.78 kB / 434.2 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.3096, allocations: 0 / 434.2 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.3096, allocations: 34.5 kB / 434.3 MB, free: 3.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 8.51e-07/0.3096, allocations: 3.938 kB / 434.3 MB, free: 3.156 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002619/0.3099, allocations: 89.62 kB / 434.3 MB, free: 3.062 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.31, allocations: 55.41 kB / 434.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.3101, allocations: 109.8 kB / 434.5 MB, free: 2.879 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.3101, allocations: 29.7 kB / 434.5 MB, free: 2.844 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.133e-05/0.3101, allocations: 84.14 kB / 434.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.3101, allocations: 7.984 kB / 434.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.3102, allocations: 21.66 kB / 434.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.3103, allocations: 314.8 kB / 435 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.78e-05/0.3103, allocations: 11.98 kB / 435 MB, free: 2.395 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.262e-05/0.3104, allocations: 45.16 kB / 435 MB, free: 2.332 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.378e-05/0.3105, allocations: 57.09 kB / 435.1 MB, free: 2.258 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3105, allocations: 0 / 435.1 MB, free: 2.258 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00012/0.3106, allocations: 81.44 kB / 435.1 MB, free: 2.172 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.3106, allocations: 11.94 kB / 435.2 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3106, allocations: 0 / 435.2 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.3106, allocations: 4 kB / 435.2 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.889e-05/0.3107, allocations: 12.12 kB / 435.2 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.3107, allocations: 4 kB / 435.2 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.251e-05/0.3107, allocations: 3.938 kB / 435.2 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.3107, allocations: 8 kB / 435.2 MB, free: 2.129 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.0001036/0.3108, allocations: 109.8 kB / 435.3 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.311, allocations: 81.5 kB / 435.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.311, allocations: 8.375 kB / 435.4 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-06/0.311, allocations: 0 / 435.4 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.311, allocations: 4 kB / 435.4 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.311, allocations: 0 / 435.4 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.3111, allocations: 129.1 kB / 435.5 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3111, allocations: 3.984 kB / 435.5 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.845e-05/0.3112, allocations: 15.94 kB / 435.5 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3112, allocations: 0 / 435.5 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.3112, allocations: 4 kB / 435.5 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3112, allocations: 0 / 435.5 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3112, allocations: 0 / 435.5 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.3113, allocations: 97.06 kB / 435.6 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.35e-05/0.3114, allocations: 7.875 kB / 435.6 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.3114, allocations: 4 kB / 435.6 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.535e-05/0.3115, allocations: 23.97 kB / 435.7 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-06/0.3115, allocations: 3.938 kB / 435.7 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.3115, allocations: 4 kB / 435.7 MB, free: 1.562 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.989e-05/0.3115, allocations: 83.28 kB / 435.8 MB, free: 1.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3115, allocations: 0 / 435.8 MB, free: 1.48 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001888/0.3117, allocations: 8 kB / 435.8 MB, free: 1.473 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.0005441/0.3123, allocations: 0.6661 MB / 436.4 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001317/0.3124, allocations: 39.92 kB / 436.5 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3124, allocations: 0 / 436.5 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.91e-07/0.3124, allocations: 0 / 436.5 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.3127, allocations: 43.5 kB / 436.5 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.3139, allocations: 1.244 MB / 437.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.561e-05/0.3139, allocations: 79.28 kB / 437.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.113e-05/0.314, allocations: 4 kB / 437.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.589e-05/0.314, allocations: 15.38 kB / 437.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.314, allocations: 0 / 437.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02823/0.3422, allocations: 2.213 MB / 440.1 MB, free: 13.13 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.96, allocations: 3.984 kB / 440.1 MB, free: 13.13 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.46980606392026]