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.001579/0.001579, allocations: 119.6 kB / 18.41 MB, free: 4.688 MB / 14.72 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.001645/0.001645, allocations: 192.3 kB / 21.35 MB, free: 1.75 MB / 14.72 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 1.455/1.455, allocations: 222.9 MB / 247.1 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001524, allocations: 47.92 kB / 358.7 MB, free: 8.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09342/0.09495, allocations: 49.44 MB / 408.1 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002634/0.09762, allocations: 1.481 MB / 409.6 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007529/0.0984, allocations: 462.8 kB / 410 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.955e-05/0.09847, allocations: 0 / 410 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.505e-05/0.09851, allocations: 3.938 kB / 410 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001368/0.09865, allocations: 11.92 kB / 410 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.09882, allocations: 31.89 kB / 410.1 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.699e-05/0.09893, allocations: 51.84 kB / 410.1 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.714e-05/0.09902, allocations: 15.94 kB / 410.1 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.589e-05/0.09909, allocations: 23.86 kB / 410.2 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.64e-05/0.09914, allocations: 15.92 kB / 410.2 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.09917, allocations: 8 kB / 410.2 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.425e-05/0.09919, allocations: 4 kB / 410.2 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.585e-05/0.09922, allocations: 19.91 kB / 410.2 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.332e-05/0.09927, allocations: 19.94 kB / 410.2 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.09939, allocations: 47.8 kB / 410.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.0994, allocations: 0 / 410.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.0994, allocations: 0 / 410.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.09941, allocations: 0 / 410.3 MB, free: 4.715 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.0006082/0.1, allocations: 387.2 kB / 410.7 MB, free: 4.289 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.1001, allocations: 11.89 kB / 410.7 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.1001, allocations: 8.891 kB / 410.7 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.1004, allocations: 180.3 kB / 410.8 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.1004, allocations: 8.375 kB / 410.9 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.1004, allocations: 4.375 kB / 410.9 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003562/0.1008, allocations: 151.4 kB / 411 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.1008, allocations: 0 / 411 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.1008, allocations: 0 / 411 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1008, allocations: 0 / 411 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.1009, allocations: 27.98 kB / 411 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/0.1011, allocations: 173.5 kB / 411.2 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.1013, allocations: 143.6 kB / 411.3 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.651e-05/0.1014, allocations: 32.84 kB / 411.4 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.1015, allocations: 0 / 411.4 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.1015, allocations: 34.5 kB / 411.4 MB, free: 3.391 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.1015, allocations: 4 kB / 411.4 MB, free: 3.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002684/0.1018, allocations: 89.61 kB / 411.5 MB, free: 3.293 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.1018, allocations: 55.41 kB / 411.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.947e-05/0.1019, allocations: 113.8 kB / 411.7 MB, free: 3.105 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.102, allocations: 29.7 kB / 411.7 MB, free: 3.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.169e-05/0.102, allocations: 84.14 kB / 411.8 MB, free: 2.984 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.394e-05/0.102, allocations: 3.984 kB / 411.8 MB, free: 2.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.856e-05/0.1021, allocations: 21.72 kB / 411.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1022, allocations: 318.8 kB / 412.1 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.1023, allocations: 7.984 kB / 412.1 MB, free: 2.625 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.707e-05/0.1023, allocations: 41.16 kB / 412.2 MB, free: 2.566 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.89e-05/0.1024, allocations: 61.08 kB / 412.2 MB, free: 2.488 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1024, allocations: 0 / 412.2 MB, free: 2.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001127/0.1025, allocations: 73.5 kB / 412.3 MB, free: 2.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.1025, allocations: 12.12 kB / 412.3 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1025, allocations: 4 kB / 412.3 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1026, allocations: 0 / 412.3 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.331e-05/0.1026, allocations: 8 kB / 412.3 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.1026, allocations: 4 kB / 412.3 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.217e-05/0.1027, allocations: 3.953 kB / 412.3 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.1027, allocations: 4 kB / 412.3 MB, free: 2.375 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 8.635e-05/0.1028, allocations: 113.8 kB / 412.4 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.1029, allocations: 77.55 kB / 412.5 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.829e-05/0.103, allocations: 16.31 kB / 412.5 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.103, allocations: 0 / 412.5 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.103, allocations: 0 / 412.5 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.103, allocations: 0 / 412.5 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.1031, allocations: 173.5 kB / 412.7 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1031, allocations: 0 / 412.7 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.765e-05/0.1032, allocations: 4 kB / 412.7 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.1032, allocations: 7.875 kB / 412.7 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.1032, allocations: 8 kB / 412.7 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1032, allocations: 3.984 kB / 412.7 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1032, allocations: 320 / 412.7 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.1034, allocations: 101.1 kB / 412.8 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-05/0.1035, allocations: 92.98 kB / 412.9 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.1035, allocations: 0 / 412.9 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.324e-05/0.1036, allocations: 15.98 kB / 412.9 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-06/0.1036, allocations: 0 / 412.9 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.1036, allocations: 8 kB / 412.9 MB, free: 1.664 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.461e-05/0.1037, allocations: 87.27 kB / 413 MB, free: 1.578 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1037, allocations: 0 / 413 MB, free: 1.578 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001963/0.1039, allocations: 8 kB / 413 MB, free: 1.57 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.000109/0.104, allocations: 105.7 kB / 413.1 MB, free: 1.461 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001469/0.1041, allocations: 35.92 kB / 413.2 MB, free: 1.426 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.1041, allocations: 8.375 kB / 413.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.1042, allocations: 0 / 413.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.1045, allocations: 43.94 kB / 413.2 MB, free: 1.375 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003133/0.1048, allocations: 155.2 kB / 413.4 MB, free: 1.191 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.1051, allocations: 0.6961 MB / 414.1 MB, free: 480 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.614e-05/0.1052, allocations: 7.438 kB / 414.1 MB, free: 472 kB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1052, allocations: 0 / 414.1 MB, free: 472 kB / 334.1 MB Notification: Performance of Templates: time 0.002212/0.1074, allocations: 0.7761 MB / 414.9 MB, free: 15.69 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 6.518417381099425]