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.001712/0.001712, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.001971/0.001971, allocations: 219 kB / 21.46 MB, free: 1.586 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.438/1.438, allocations: 230.6 MB / 254.8 MB, free: 15.23 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.00154/0.00154, allocations: 51.92 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09994/0.1015, allocations: 53.34 MB / 427 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002927/0.1044, allocations: 1.501 MB / 428.5 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.1054, allocations: 494.8 kB / 429 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.77e-05/0.1055, allocations: 7.938 kB / 429 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.053e-05/0.1055, allocations: 0 / 429 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001519/0.1057, allocations: 15.86 kB / 429 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.1059, allocations: 31.91 kB / 429.1 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000129/0.106, allocations: 63.72 kB / 429.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.271e-05/0.1061, allocations: 8 kB / 429.1 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.54e-05/0.1062, allocations: 27.91 kB / 429.2 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.803e-05/0.1062, allocations: 19.86 kB / 429.2 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.1062, allocations: 8 kB / 429.2 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.225e-05/0.1062, allocations: 4 kB / 429.2 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.172e-05/0.1063, allocations: 7.984 kB / 429.2 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.016e-05/0.1063, allocations: 23.86 kB / 429.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.1064, allocations: 43.81 kB / 429.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1064, allocations: 3.938 kB / 429.3 MB, free: 2.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1064, allocations: 0 / 429.3 MB, free: 2.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.1064, allocations: 4 kB / 429.3 MB, free: 2.531 MB / 350.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.0006359/0.1071, allocations: 379.3 kB / 429.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.1071, allocations: 8.031 kB / 429.6 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.37e-05/0.1071, allocations: 192 / 429.6 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.851e-05/0.1072, allocations: 42.73 kB / 429.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.922e-05/0.1072, allocations: 8.891 kB / 429.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.1075, allocations: 188.2 kB / 429.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.1075, allocations: 4.375 kB / 429.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.1075, allocations: 4.375 kB / 429.9 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003827/0.1079, allocations: 143.2 kB / 430 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.1079, allocations: 4 kB / 430 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.1079, allocations: 0 / 430 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1079, allocations: 0 / 430 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.108, allocations: 31.97 kB / 430.1 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002064/0.1082, allocations: 161.7 kB / 430.2 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.1085, allocations: 131.7 kB / 430.3 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.488e-05/0.1085, allocations: 32.84 kB / 430.4 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.1086, allocations: 7.875 kB / 430.4 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.1086, allocations: 34.55 kB / 430.4 MB, free: 1.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.1086, allocations: 0 / 430.4 MB, free: 1.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002844/0.1089, allocations: 85.62 kB / 430.5 MB, free: 1.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/0.1089, allocations: 63.34 kB / 430.6 MB, free: 1.016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.663e-05/0.109, allocations: 109.8 kB / 430.7 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.1091, allocations: 33.7 kB / 430.7 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.513e-05/0.1091, allocations: 84.14 kB / 430.8 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.1091, allocations: 3.938 kB / 430.8 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.1092, allocations: 29.7 kB / 430.8 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1093, allocations: 318.8 kB / 431.1 MB, free: 424 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.72e-05/0.1093, allocations: 4 kB / 431.1 MB, free: 420 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.595e-05/0.1094, allocations: 49.14 kB / 431.2 MB, free: 352 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.346e-05/0.1094, allocations: 49.09 kB / 431.2 MB, free: 284 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1094, allocations: 4 kB / 431.2 MB, free: 280 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001145/0.1096, allocations: 81.45 kB / 431.3 MB, free: 192 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1096, allocations: 8 kB / 431.3 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1096, allocations: 0 / 431.3 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1096, allocations: 0 / 431.3 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.936e-05/0.1096, allocations: 15.92 kB / 431.3 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.1096, allocations: 4.25 kB / 431.3 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.062e-05/0.1097, allocations: 0 / 431.3 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.1097, allocations: 8.188 kB / 431.4 MB, free: 156 kB / 350.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.841e-05/0.1098, allocations: 117.8 kB / 431.5 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/0.11, allocations: 85.48 kB / 431.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.298e-05/0.11, allocations: 8.375 kB / 431.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.11, allocations: 0 / 431.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.11, allocations: 0 / 431.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.11, allocations: 0 / 431.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.1101, allocations: 161.7 kB / 431.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.1101, allocations: 3.938 kB / 431.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-05/0.1102, allocations: 15.98 kB / 431.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1102, allocations: 0 / 431.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-06/0.1102, allocations: 0 / 431.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1102, allocations: 4 kB / 431.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1102, allocations: 0 / 431.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.1104, allocations: 97 kB / 431.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-05/0.1104, allocations: 85.05 kB / 431.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.1105, allocations: 0 / 431.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.405e-05/0.1105, allocations: 23.97 kB / 431.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-06/0.1105, allocations: 0 / 431.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.1106, allocations: 4 kB / 431.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.312e-05/0.1106, allocations: 87.22 kB / 432 MB, free: 15.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1106, allocations: 0 / 432 MB, free: 15.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001975/0.1108, allocations: 11.94 kB / 432 MB, free: 15.36 MB / 366.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.000603/0.1114, allocations: 0.6633 MB / 432.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001517/0.1116, allocations: 43.86 kB / 432.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.1116, allocations: 4 kB / 432.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.1116, allocations: 448 / 432.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.1119, allocations: 43.94 kB / 432.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.1132, allocations: 1.247 MB / 434 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.1135, allocations: 0.6923 MB / 434.7 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.224e-05/0.1135, allocations: 0 / 434.7 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.534e-05/0.1136, allocations: 11.44 kB / 434.7 MB, free: 12.49 MB / 366.1 MB Notification: Performance of SimCode: time 4.8e-07/0.1136, allocations: 0 / 434.7 MB, free: 12.49 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.1319, allocations: 1.699 MB / 436.4 MB, free: 10.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.836/7.968, allocations: 19.16 kB / 436.5 MB, free: 10.94 MB / 366.1 MB " [Timeout remaining time 652] (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: 10.601287686964497]