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.001736/0.001736, allocations: 116.7 kB / 19.18 MB, free: 3.762 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.001693/0.001693, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.455/1.455, allocations: 230.2 MB / 255.2 MB, free: 15.42 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: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 63.89 kB / 374.5 MB, free: 9.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09237/0.09425, allocations: 53.32 MB / 427.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.00269/0.09694, allocations: 1.494 MB / 429.3 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008621/0.0978, allocations: 0.491 MB / 429.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.276e-05/0.09786, allocations: 0 / 429.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.569e-05/0.09789, allocations: 3.938 kB / 429.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001451/0.09803, allocations: 19.86 kB / 429.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001528/0.09819, allocations: 31.91 kB / 429.9 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.968e-05/0.09829, allocations: 55.72 kB / 429.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.734e-05/0.09837, allocations: 11.98 kB / 429.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.225e-05/0.09844, allocations: 23.92 kB / 430 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.45e-05/0.09849, allocations: 23.91 kB / 430 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.09851, allocations: 8 kB / 430 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.289e-05/0.09852, allocations: 4 kB / 430 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.841e-05/0.09854, allocations: 4 kB / 430 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.465e-05/0.09859, allocations: 27.86 kB / 430 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.09869, allocations: 47.8 kB / 430.1 MB, free: 2.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.0987, allocations: 0 / 430.1 MB, free: 2.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.0987, allocations: 3.938 kB / 430.1 MB, free: 2.266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.0987, allocations: 3.938 kB / 430.1 MB, free: 2.262 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.0006154/0.09932, allocations: 375.3 kB / 430.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.09936, allocations: 12.02 kB / 430.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.09939, allocations: 8.891 kB / 430.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.09964, allocations: 184.3 kB / 430.6 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.09965, allocations: 384 / 430.6 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.09967, allocations: 8.375 kB / 430.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003618/0.1, allocations: 143.5 kB / 430.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1, allocations: 0 / 430.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-06/0.1001, allocations: 0 / 430.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1001, allocations: 0 / 430.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.1002, allocations: 31.92 kB / 430.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000186/0.1004, allocations: 173.6 kB / 431 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.1006, allocations: 127.7 kB / 431.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.682e-05/0.1007, allocations: 28.84 kB / 431.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.1007, allocations: 0 / 431.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.955e-05/0.1007, allocations: 42.44 kB / 431.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.1007, allocations: 4 kB / 431.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002831/0.101, allocations: 93.55 kB / 431.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.1011, allocations: 55.41 kB / 431.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.1012, allocations: 113.8 kB / 431.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.1012, allocations: 25.7 kB / 431.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.398e-05/0.1013, allocations: 84.14 kB / 431.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.1013, allocations: 7.938 kB / 431.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.1013, allocations: 21.72 kB / 431.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1015, allocations: 322.8 kB / 431.9 MB, free: 204 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/0.1015, allocations: 4 kB / 431.9 MB, free: 200 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.662e-05/0.1015, allocations: 45.14 kB / 432 MB, free: 136 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.842e-05/0.1016, allocations: 64.97 kB / 432 MB, free: 52 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1016, allocations: 0 / 432 MB, free: 52 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001359/0.1017, allocations: 77.52 kB / 432.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1017, allocations: 12.12 kB / 432.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1017, allocations: 0 / 432.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.1018, allocations: 4 kB / 432.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.452e-05/0.1018, allocations: 11.98 kB / 432.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1018, allocations: 0 / 432.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.449e-05/0.1019, allocations: 4 kB / 432.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.1019, allocations: 3.984 kB / 432.1 MB, free: 15.93 MB / 366.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.87e-05/0.102, allocations: 117.8 kB / 432.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.1021, allocations: 73.58 kB / 432.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.401e-05/0.1022, allocations: 16.36 kB / 432.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1022, allocations: 4 kB / 432.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.1022, allocations: 0 / 432.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.1022, allocations: 0 / 432.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.1023, allocations: 157.7 kB / 432.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1023, allocations: 0 / 432.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.451e-05/0.1024, allocations: 16.3 kB / 432.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.1024, allocations: 3.938 kB / 432.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.148e-06/0.1024, allocations: 4 kB / 432.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1024, allocations: 3.938 kB / 432.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1024, allocations: 4 kB / 432.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.1025, allocations: 97.06 kB / 432.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.528e-05/0.1026, allocations: 81.05 kB / 432.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.1026, allocations: 0 / 432.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.604e-05/0.1027, allocations: 19.98 kB / 432.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-06/0.1027, allocations: 4 kB / 432.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.1027, allocations: 3.984 kB / 432.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.483e-05/0.1028, allocations: 87.28 kB / 432.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1028, allocations: 3.938 kB / 432.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001965/0.103, allocations: 8 kB / 432.8 MB, free: 15.14 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.0001549/0.1031, allocations: 95.25 kB / 432.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001459/0.1033, allocations: 44.22 kB / 433 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.1033, allocations: 11.94 kB / 433 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.12e-07/0.1033, allocations: 3.938 kB / 433 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.1036, allocations: 43.14 kB / 433 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003182/0.1039, allocations: 151.2 kB / 433.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.1042, allocations: 0.6875 MB / 433.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.1043, allocations: 11.44 kB / 433.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1043, allocations: 4.062 kB / 433.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of Templates: time 0.002234/0.1065, allocations: 0.7642 MB / 434.6 MB, free: 13.27 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 6.477337189950049]