Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.002037/0.002037, allocations: 116.8 kB / 19.17 MB, free: 3.895 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.002579/0.002579, allocations: 214.6 kB / 22.13 MB, free: 0.9375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.421/1.421, allocations: 230.4 MB / 255.4 MB, free: 9.047 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-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 63.83 kB / 374.7 MB, free: 4.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2722, allocations: 53.32 MB / 428 MB, free: 8.031 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003047/0.2752, allocations: 1.499 MB / 429.5 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009672/0.2762, allocations: 486.8 kB / 430 MB, free: 6.047 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.654e-05/0.2762, allocations: 4 kB / 430 MB, free: 6.043 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.357e-05/0.2763, allocations: 3.938 kB / 430 MB, free: 6.039 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001699/0.2764, allocations: 11.88 kB / 430 MB, free: 6.027 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.2766, allocations: 43.83 kB / 430.1 MB, free: 5.984 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.2767, allocations: 55.84 kB / 430.1 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.873e-05/0.2768, allocations: 11.98 kB / 430.2 MB, free: 5.918 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.223e-05/0.2769, allocations: 19.92 kB / 430.2 MB, free: 5.898 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.368e-05/0.277, allocations: 15.92 kB / 430.2 MB, free: 5.883 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.277, allocations: 4 kB / 430.2 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.341e-05/0.277, allocations: 4 kB / 430.2 MB, free: 5.875 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.135e-05/0.277, allocations: 19.92 kB / 430.2 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.557e-05/0.2771, allocations: 19.86 kB / 430.2 MB, free: 5.836 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.2772, allocations: 47.61 kB / 430.3 MB, free: 5.793 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2772, allocations: 0 / 430.3 MB, free: 5.793 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.2772, allocations: 4 kB / 430.3 MB, free: 5.789 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.2772, allocations: 0 / 430.3 MB, free: 5.789 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.0006911/0.2779, allocations: 376.8 kB / 430.7 MB, free: 5.379 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.278, allocations: 8.031 kB / 430.7 MB, free: 5.371 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.886e-05/0.278, allocations: 12.89 kB / 430.7 MB, free: 5.359 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.2783, allocations: 188.2 kB / 430.9 MB, free: 5.137 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.2783, allocations: 8.375 kB / 430.9 MB, free: 5.129 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.2783, allocations: 384 / 430.9 MB, free: 5.129 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004043/0.2787, allocations: 151.4 kB / 431 MB, free: 4.969 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.2788, allocations: 7.969 kB / 431 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.2788, allocations: 0 / 431 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.2788, allocations: 0 / 431 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.2789, allocations: 31.98 kB / 431.1 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002105/0.2791, allocations: 161.7 kB / 431.2 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/0.2793, allocations: 131.7 kB / 431.3 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.8e-05/0.2794, allocations: 32.84 kB / 431.4 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.2795, allocations: 0 / 431.4 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.2795, allocations: 46.38 kB / 431.4 MB, free: 4.477 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.2795, allocations: 0 / 431.4 MB, free: 4.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002893/0.2798, allocations: 85.62 kB / 431.5 MB, free: 4.387 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.2798, allocations: 55.41 kB / 431.6 MB, free: 4.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.28, allocations: 109.8 kB / 431.7 MB, free: 4.203 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.28, allocations: 33.7 kB / 431.7 MB, free: 4.164 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.706e-05/0.28, allocations: 80.14 kB / 431.8 MB, free: 4.082 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.28, allocations: 7.984 kB / 431.8 MB, free: 4.074 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.2801, allocations: 21.72 kB / 431.8 MB, free: 4.047 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.2802, allocations: 310.8 kB / 432.1 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.039e-05/0.2802, allocations: 11.98 kB / 432.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.124e-05/0.2803, allocations: 49.09 kB / 432.2 MB, free: 3.656 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.311e-05/0.2804, allocations: 49.09 kB / 432.2 MB, free: 3.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.2804, allocations: 7.984 kB / 432.2 MB, free: 3.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001176/0.2805, allocations: 73.52 kB / 432.3 MB, free: 3.504 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.2805, allocations: 11.94 kB / 432.3 MB, free: 3.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.2805, allocations: 0 / 432.3 MB, free: 3.492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.2805, allocations: 4 kB / 432.3 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.848e-05/0.2806, allocations: 8 kB / 432.3 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.2806, allocations: 7.938 kB / 432.3 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.066e-05/0.2806, allocations: 0 / 432.3 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.2806, allocations: 8.188 kB / 432.3 MB, free: 3.465 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.0001048/0.2807, allocations: 117.8 kB / 432.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.2809, allocations: 73.56 kB / 432.5 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.11e-05/0.2809, allocations: 8.375 kB / 432.5 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.2809, allocations: 0 / 432.5 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2809, allocations: 0 / 432.5 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.2809, allocations: 4 kB / 432.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.2811, allocations: 169.9 kB / 432.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2811, allocations: 0 / 432.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.639e-05/0.2811, allocations: 15.94 kB / 432.7 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.2811, allocations: 3.938 kB / 432.7 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.2811, allocations: 4 kB / 432.7 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.2811, allocations: 3.984 kB / 432.7 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2811, allocations: 0 / 432.7 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.2813, allocations: 93.02 kB / 432.8 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.409e-05/0.2814, allocations: 93.03 kB / 432.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.2814, allocations: 0 / 432.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.789e-05/0.2815, allocations: 15.98 kB / 432.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-06/0.2815, allocations: 4 kB / 432.9 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.2815, allocations: 0 / 432.9 MB, free: 2.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.686e-05/0.2815, allocations: 91.73 kB / 433 MB, free: 2.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2815, allocations: 0 / 433 MB, free: 2.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001888/0.2817, allocations: 11.94 kB / 433 MB, free: 2.668 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.0001199/0.2818, allocations: 103.2 kB / 433.1 MB, free: 2.559 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001533/0.282, allocations: 35.92 kB / 433.2 MB, free: 2.523 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.834e-06/0.282, allocations: 0 / 433.2 MB, free: 2.523 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.282, allocations: 0 / 433.2 MB, free: 2.523 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.2823, allocations: 35.11 kB / 433.2 MB, free: 2.492 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003397/0.2826, allocations: 159.6 kB / 433.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.283, allocations: 0.6924 MB / 434 MB, free: 1.582 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.839e-05/0.283, allocations: 11.38 kB / 434.1 MB, free: 1.57 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.283, allocations: 0 / 434.1 MB, free: 1.57 MB / 334.1 MB Notification: Performance of Templates: time 0.002486/0.2855, allocations: 0.7775 MB / 434.8 MB, free: 0.793 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.67590016592294]