Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.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.001446/0.001446, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001488/0.001488, allocations: 207.2 kB / 23.73 MB, free: 4.391 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.487/1.487, allocations: 230.5 MB / 257.4 MB, free: 7.773 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.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00265/0.00265, allocations: 63.89 kB / 378.2 MB, free: 2.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2969, allocations: 53.42 MB / 431.6 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003392/0.3003, allocations: 1.528 MB / 433.2 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004867/0.3008, allocations: 147.4 kB / 433.3 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.191e-05/0.3009, allocations: 0 / 433.3 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.301, allocations: 7.922 kB / 433.3 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.842e-05/0.3011, allocations: 11.88 kB / 433.3 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.3014, allocations: 51.83 kB / 433.4 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.3015, allocations: 27.92 kB / 433.4 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.3016, allocations: 15.98 kB / 433.4 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.388e-05/0.3016, allocations: 11.94 kB / 433.4 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.89e-05/0.3017, allocations: 23.86 kB / 433.5 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.3017, allocations: 4 kB / 433.5 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.483e-05/0.3017, allocations: 4 kB / 433.5 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.142e-05/0.3018, allocations: 15.92 kB / 433.5 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.583e-05/0.3018, allocations: 19.86 kB / 433.5 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.3019, allocations: 59.2 kB / 433.6 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3019, allocations: 3.938 kB / 433.6 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3019, allocations: 0 / 433.6 MB, free: 4.586 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.328e-06/0.302, allocations: 0 / 433.6 MB, free: 4.586 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.0005242/0.3025, allocations: 300.8 kB / 433.9 MB, free: 4.262 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.3025, allocations: 15.98 kB / 433.9 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.3025, allocations: 8.891 kB / 433.9 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.3029, allocations: 134.4 kB / 434 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.3029, allocations: 384 / 434 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.3029, allocations: 8.375 kB / 434 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.3032, allocations: 114.5 kB / 434.1 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.3032, allocations: 4.172 kB / 434.1 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.3032, allocations: 3.938 kB / 434.1 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/0.3032, allocations: 8 kB / 434.1 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.477e-05/0.3033, allocations: 27.92 kB / 434.2 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000428/0.3038, allocations: 317.4 kB / 434.5 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.3039, allocations: 71.84 kB / 434.6 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.251e-05/0.304, allocations: 42.5 kB / 434.6 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.304, allocations: 0 / 434.6 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.304, allocations: 34.56 kB / 434.6 MB, free: 3.359 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.304, allocations: 4 kB / 434.6 MB, free: 3.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003195/0.3043, allocations: 89.56 kB / 434.7 MB, free: 3.262 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.3045, allocations: 114.7 kB / 434.8 MB, free: 3.125 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.3046, allocations: 140.6 kB / 435 MB, free: 2.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.3046, allocations: 25.7 kB / 435 MB, free: 2.949 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.099e-05/0.3047, allocations: 88.14 kB / 435.1 MB, free: 2.859 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.3047, allocations: 7.938 kB / 435.1 MB, free: 2.852 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.3047, allocations: 22.09 kB / 435.1 MB, free: 2.824 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3049, allocations: 318.8 kB / 435.4 MB, free: 2.504 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.985e-05/0.3049, allocations: 11.98 kB / 435.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.781e-05/0.305, allocations: 35.42 kB / 435.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.3051, allocations: 55.36 kB / 435.5 MB, free: 2.379 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3051, allocations: 0 / 435.5 MB, free: 2.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001471/0.3053, allocations: 77.5 kB / 435.6 MB, free: 2.297 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3053, allocations: 4 kB / 435.6 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.3053, allocations: 4 kB / 435.6 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.3053, allocations: 0 / 435.6 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.289e-05/0.3053, allocations: 3.938 kB / 435.6 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.3053, allocations: 4 kB / 435.6 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.593e-05/0.3054, allocations: 7.984 kB / 435.6 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.3054, allocations: 4 kB / 435.6 MB, free: 2.27 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001264/0.3055, allocations: 129.8 kB / 435.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.533e-05/0.3056, allocations: 49.64 kB / 435.8 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.725e-05/0.3056, allocations: 15.91 kB / 435.8 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.3057, allocations: 4.094 kB / 435.8 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.3057, allocations: 3.984 kB / 435.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.3057, allocations: 4 kB / 435.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.3059, allocations: 117.2 kB / 435.9 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.3059, allocations: 7.938 kB / 435.9 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.741e-06/0.3059, allocations: 0 / 435.9 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3059, allocations: 4 kB / 436 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.3059, allocations: 12.02 kB / 436 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.3059, allocations: 3.984 kB / 436 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3059, allocations: 0 / 436 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.3062, allocations: 251.6 kB / 436.2 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.634e-05/0.3062, allocations: 23.86 kB / 436.2 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.3062, allocations: 0 / 436.2 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.699e-05/0.3063, allocations: 11.88 kB / 436.2 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/0.3064, allocations: 4 kB / 436.3 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.3064, allocations: 11.92 kB / 436.3 MB, free: 1.559 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.056e-05/0.3065, allocations: 103.3 kB / 436.4 MB, free: 1.457 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3065, allocations: 4 kB / 436.4 MB, free: 1.453 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002878/0.3068, allocations: 4 kB / 436.4 MB, free: 1.449 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0001465/0.3069, allocations: 99.25 kB / 436.5 MB, free: 1.344 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001799/0.3071, allocations: 39.91 kB / 436.5 MB, free: 1.305 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3071, allocations: 0 / 436.5 MB, free: 1.305 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.724e-05/0.3072, allocations: 12.3 kB / 436.5 MB, free: 1.293 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/0.3076, allocations: 38.33 kB / 436.6 MB, free: 1.262 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004103/0.308, allocations: 175.2 kB / 436.7 MB, free: 1.059 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.3081, allocations: 75.33 kB / 436.8 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.081e-05/0.3082, allocations: 7.984 kB / 436.8 MB, free: 0.957 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.633e-05/0.3082, allocations: 11.44 kB / 436.8 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3082, allocations: 0 / 436.8 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of Templates: time 0.003825/0.312, allocations: 0.6733 MB / 437.5 MB, free: 300 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.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: 4.550423260778189]