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.001442/0.001442, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001673/0.001673, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.395/1.395, allocations: 230.6 MB / 258.3 MB, free: 8.023 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 43.92 kB / 378.6 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.245, allocations: 53.37 MB / 431.9 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.00266/0.2477, allocations: 1.51 MB / 433.4 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008567/0.2485, allocations: 498.7 kB / 433.9 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.24e-05/0.2486, allocations: 0 / 433.9 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.231e-05/0.2486, allocations: 15.86 kB / 433.9 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001459/0.2488, allocations: 11.94 kB / 433.9 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001609/0.2489, allocations: 35.89 kB / 434 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.249, allocations: 47.86 kB / 434 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.942e-05/0.2491, allocations: 11.98 kB / 434 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.756e-05/0.2492, allocations: 27.8 kB / 434.1 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.939e-05/0.2492, allocations: 27.91 kB / 434.1 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.2493, allocations: 4 kB / 434.1 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.193e-05/0.2493, allocations: 4 kB / 434.1 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.235e-05/0.2493, allocations: 11.94 kB / 434.1 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.2493, allocations: 19.92 kB / 434.1 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.2495, allocations: 51.61 kB / 434.2 MB, free: 4.578 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2495, allocations: 0 / 434.2 MB, free: 4.578 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.2495, allocations: 3.984 kB / 434.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.2495, allocations: 0 / 434.2 MB, free: 4.574 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.0005775/0.25, allocations: 302.8 kB / 434.5 MB, free: 4.254 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.2501, allocations: 8.031 kB / 434.5 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.267e-05/0.2501, allocations: 192 / 434.5 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.921e-05/0.2501, allocations: 42.67 kB / 434.5 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.637e-05/0.2502, allocations: 8.891 kB / 434.5 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.2504, allocations: 122.5 kB / 434.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.2504, allocations: 8.375 kB / 434.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.2504, allocations: 4.375 kB / 434.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003588/0.2508, allocations: 143.2 kB / 434.8 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.2508, allocations: 0 / 434.8 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.2508, allocations: 4 kB / 434.8 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2508, allocations: 0 / 434.8 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.2509, allocations: 31.92 kB / 434.8 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001998/0.2511, allocations: 140.7 kB / 435 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.2513, allocations: 54.62 kB / 435 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.292e-05/0.2514, allocations: 28.84 kB / 435.1 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.2514, allocations: 3.938 kB / 435.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.2515, allocations: 34.55 kB / 435.1 MB, free: 3.523 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.031e-06/0.2515, allocations: 7.938 kB / 435.1 MB, free: 3.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003134/0.2518, allocations: 93.56 kB / 435.2 MB, free: 3.418 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.846e-05/0.2518, allocations: 51.41 kB / 435.3 MB, free: 3.355 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.252, allocations: 113.8 kB / 435.4 MB, free: 3.234 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.252, allocations: 25.7 kB / 435.4 MB, free: 3.203 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.252, allocations: 84.12 kB / 435.5 MB, free: 3.117 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.252, allocations: 4 kB / 435.5 MB, free: 3.113 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.2521, allocations: 21.72 kB / 435.5 MB, free: 3.086 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.2522, allocations: 318.8 kB / 435.8 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.946e-05/0.2523, allocations: 8 kB / 435.8 MB, free: 2.758 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.022e-05/0.2523, allocations: 45.16 kB / 435.9 MB, free: 2.695 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.522e-05/0.2524, allocations: 61.02 kB / 435.9 MB, free: 2.617 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.2524, allocations: 0 / 435.9 MB, free: 2.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001186/0.2525, allocations: 81.45 kB / 436 MB, free: 2.531 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.2525, allocations: 8.188 kB / 436 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2525, allocations: 4 kB / 436 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.2525, allocations: 4 kB / 436 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.988e-05/0.2526, allocations: 4 kB / 436 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.2526, allocations: 4.719 kB / 436 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.316e-05/0.2526, allocations: 7.922 kB / 436 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.2527, allocations: 8 kB / 436 MB, free: 2.492 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.0001015/0.2528, allocations: 117.8 kB / 436.2 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.2529, allocations: 73.58 kB / 436.2 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.6e-05/0.2529, allocations: 12.38 kB / 436.2 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.2529, allocations: 3.984 kB / 436.2 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.2529, allocations: 4 kB / 436.2 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.253, allocations: 0 / 436.2 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.2531, allocations: 128.7 kB / 436.4 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2531, allocations: 3.938 kB / 436.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.376e-05/0.2531, allocations: 4 kB / 436.4 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.2531, allocations: 11.92 kB / 436.4 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/0.2531, allocations: 0 / 436.4 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2531, allocations: 0 / 436.4 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2531, allocations: 0 / 436.4 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.2533, allocations: 109 kB / 436.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.164e-05/0.2534, allocations: 3.938 kB / 436.5 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.2534, allocations: 0 / 436.5 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.879e-05/0.2535, allocations: 15.98 kB / 436.5 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-06/0.2535, allocations: 4 kB / 436.5 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.495e-06/0.2535, allocations: 4 kB / 436.5 MB, free: 1.926 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.581e-05/0.2535, allocations: 91.25 kB / 436.6 MB, free: 1.836 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2535, allocations: 0 / 436.6 MB, free: 1.836 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001918/0.2537, allocations: 15.94 kB / 436.6 MB, free: 1.82 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.0005385/0.2543, allocations: 0.6671 MB / 437.3 MB, free: 1.125 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001325/0.2544, allocations: 35.92 kB / 437.3 MB, free: 1.09 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2544, allocations: 0 / 437.3 MB, free: 1.09 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.81e-07/0.2544, allocations: 0 / 437.3 MB, free: 1.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.2547, allocations: 35.11 kB / 437.4 MB, free: 1.059 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.2559, allocations: 1.255 MB / 438.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.2562, allocations: 0.6885 MB / 439.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.774e-05/0.2562, allocations: 0 / 439.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.2563, allocations: 19.42 kB / 439.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2563, allocations: 0 / 439.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02129/0.2776, allocations: 1.829 MB / 441.2 MB, free: 13.28 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/10.58, allocations: 6.453 kB / 441.2 MB, free: 13.28 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: 13.003135945997201]