Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008107/0.0008107, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9246/0.9246, allocations: 173.4 MB / 200.4 MB, free: 9.449 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 318.4 MB, free: 6.395 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.719e-05/1.883e-05, allocations: 5.516 kB / 318.4 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002088/0.002107, allocations: 1.469 MB / 319.9 MB, free: 4.906 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005993/0.002706, allocations: 438.8 kB / 320.3 MB, free: 4.473 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.288e-05/0.002759, allocations: 0 / 320.3 MB, free: 4.473 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.501e-05/0.002784, allocations: 3.938 kB / 320.3 MB, free: 4.469 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.002917, allocations: 19.8 kB / 320.4 MB, free: 4.449 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001388/0.003056, allocations: 31.91 kB / 320.4 MB, free: 4.418 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.93e-05/0.003135, allocations: 55.78 kB / 320.4 MB, free: 4.363 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.089e-05/0.003216, allocations: 11.92 kB / 320.4 MB, free: 4.352 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.513e-05/0.003281, allocations: 31.91 kB / 320.5 MB, free: 4.32 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.181e-05/0.003313, allocations: 15.98 kB / 320.5 MB, free: 4.305 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.003333, allocations: 4 kB / 320.5 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.208e-06/0.003342, allocations: 4 kB / 320.5 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.005e-05/0.003362, allocations: 19.91 kB / 320.5 MB, free: 4.277 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.296e-05/0.003385, allocations: 8 kB / 320.5 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.833e-05/0.003474, allocations: 51.8 kB / 320.6 MB, free: 4.219 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.003476, allocations: 0 / 320.6 MB, free: 4.219 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.003477, allocations: 0 / 320.6 MB, free: 4.219 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.003481, allocations: 0 / 320.6 MB, free: 4.219 MB / 282.7 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.0003766/0.003857, allocations: 310.2 kB / 320.9 MB, free: 3.887 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.003891, allocations: 8.922 kB / 320.9 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.959e-05/0.003921, allocations: 42.73 kB / 320.9 MB, free: 3.828 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.061e-05/0.003942, allocations: 8.891 kB / 320.9 MB, free: 3.82 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.004097, allocations: 129.7 kB / 321.1 MB, free: 3.668 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.004108, allocations: 8.375 kB / 321.1 MB, free: 3.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.806e-06/0.004117, allocations: 4.375 kB / 321.1 MB, free: 3.656 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.004349, allocations: 139.8 kB / 321.2 MB, free: 3.508 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.004355, allocations: 192 / 321.2 MB, free: 3.508 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.004363, allocations: 4.125 kB / 321.2 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.004368, allocations: 0 / 321.2 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.788e-05/0.004425, allocations: 31.92 kB / 321.3 MB, free: 3.473 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.433e-05/0.00452, allocations: 132.7 kB / 321.4 MB, free: 3.301 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.004645, allocations: 62.55 kB / 321.4 MB, free: 3.23 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.93e-05/0.004684, allocations: 28.84 kB / 321.5 MB, free: 3.199 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.004701, allocations: 0 / 321.5 MB, free: 3.199 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/0.004715, allocations: 38.5 kB / 321.5 MB, free: 3.152 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 5.82e-07/0.004716, allocations: 0 / 321.5 MB, free: 3.152 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001666/0.004882, allocations: 89.56 kB / 321.6 MB, free: 3.059 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.004924, allocations: 59.34 kB / 321.7 MB, free: 2.988 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.719e-05/0.004991, allocations: 113.8 kB / 321.8 MB, free: 2.867 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.005001, allocations: 25.7 kB / 321.8 MB, free: 2.836 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.477e-05/0.005026, allocations: 84.14 kB / 321.9 MB, free: 2.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.778e-06/0.005035, allocations: 4 kB / 321.9 MB, free: 2.746 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.143e-05/0.005057, allocations: 17.7 kB / 321.9 MB, free: 2.723 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.949e-05/0.005136, allocations: 310.8 kB / 322.2 MB, free: 2.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.105e-06/0.005144, allocations: 4 kB / 322.2 MB, free: 2.406 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.751e-06/0.00515, allocations: 4 kB / 322.2 MB, free: 2.402 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.728e-05/0.005167, allocations: 8.859 kB / 322.2 MB, free: 2.391 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.005169, allocations: 0 / 322.2 MB, free: 2.391 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.361e-05/0.005203, allocations: 45.75 kB / 322.3 MB, free: 2.34 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.005214, allocations: 7.938 kB / 322.3 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.005217, allocations: 4 kB / 322.3 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.005227, allocations: 3.938 kB / 322.3 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.827e-05/0.005255, allocations: 0 / 322.3 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.00526, allocations: 4 kB / 322.3 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.174e-05/0.005272, allocations: 0 / 322.3 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-06/0.005275, allocations: 0 / 322.3 MB, free: 2.32 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.058e-05/0.005325, allocations: 113.8 kB / 322.4 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.317e-05/0.005418, allocations: 73.97 kB / 322.5 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.333e-05/0.005442, allocations: 12.44 kB / 322.5 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.005444, allocations: 3.938 kB / 322.5 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.005447, allocations: 4 kB / 322.5 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.00545, allocations: 0 / 322.5 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.209e-05/0.005502, allocations: 124.8 kB / 322.6 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.005503, allocations: 4 kB / 322.6 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.254e-05/0.005526, allocations: 11.92 kB / 322.6 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.005527, allocations: 0 / 322.6 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-06/0.005532, allocations: 0 / 322.6 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.005534, allocations: 3.938 kB / 322.6 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.005535, allocations: 8 kB / 322.6 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.067e-05/0.005616, allocations: 101 kB / 322.7 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-06/0.005624, allocations: 4 kB / 322.7 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.005635, allocations: 3.938 kB / 322.7 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.948e-05/0.005674, allocations: 23.92 kB / 322.8 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.004e-06/0.005676, allocations: 0 / 322.8 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.00568, allocations: 3.984 kB / 322.8 MB, free: 1.754 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.616e-05/0.005706, allocations: 91.59 kB / 322.9 MB, free: 1.664 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005706, allocations: 0 / 322.9 MB, free: 1.664 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001155/0.005822, allocations: 4 kB / 322.9 MB, free: 1.66 MB / 282.7 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.0003419/0.006164, allocations: 0.6556 MB / 323.5 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.295e-05/0.006237, allocations: 27.98 kB / 323.5 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.006238, allocations: 0 / 323.5 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.4e-07/0.006238, allocations: 0 / 323.5 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.006451, allocations: 51.98 kB / 323.6 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005727/0.007023, allocations: 1.142 MB / 324.7 MB, free: 15.67 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.292e-05/0.007056, allocations: 71.33 kB / 324.8 MB, free: 15.58 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.34e-05/0.00707, allocations: 4 kB / 324.8 MB, free: 15.58 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/0.0071, allocations: 12.5 kB / 324.8 MB, free: 15.57 MB / 298.7 MB Notification: Performance of SimCode: time 2.9e-07/0.0071, allocations: 0 / 324.8 MB, free: 15.57 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01416/0.02126, allocations: 2.297 MB / 327.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.725/6.747, allocations: 6.922 kB / 327.1 MB, free: 13.39 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 8.453040051274002]