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.001788/0.001788, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002269/0.002269, allocations: 209.3 kB / 24.48 MB, free: 3.934 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.439/1.439, allocations: 230.5 MB / 258.2 MB, free: 7.781 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.001968/0.001968, allocations: 59.91 kB / 379 MB, free: 2.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2395, allocations: 53.42 MB / 432.4 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002954/0.2424, allocations: 1.528 MB / 433.9 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004259/0.2429, allocations: 143.5 kB / 434.1 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.377e-05/0.2429, allocations: 11.88 kB / 434.1 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.617e-05/0.243, allocations: 3.938 kB / 434.1 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.778e-05/0.2431, allocations: 7.938 kB / 434.1 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.2434, allocations: 43.83 kB / 434.1 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.2435, allocations: 39.86 kB / 434.2 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.2436, allocations: 19.77 kB / 434.2 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.82e-05/0.2436, allocations: 19.92 kB / 434.2 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.603e-05/0.2437, allocations: 11.94 kB / 434.2 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.26e-05/0.2437, allocations: 4 kB / 434.2 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.17e-05/0.2437, allocations: 0 / 434.2 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.504e-05/0.2438, allocations: 19.92 kB / 434.2 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.847e-05/0.2438, allocations: 19.81 kB / 434.3 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.244, allocations: 58.89 kB / 434.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.244, allocations: 0 / 434.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.244, allocations: 0 / 434.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.244, allocations: 0 / 434.3 MB, free: 4.594 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.0005094/0.2445, allocations: 297.7 kB / 434.6 MB, free: 4.273 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.2445, allocations: 19.92 kB / 434.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.2446, allocations: 8.891 kB / 434.6 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.2448, allocations: 138.3 kB / 434.8 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.2449, allocations: 4.375 kB / 434.8 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.2449, allocations: 8.375 kB / 434.8 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/0.2452, allocations: 118.5 kB / 434.9 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.2452, allocations: 192 / 434.9 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.2452, allocations: 3.938 kB / 434.9 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.576e-05/0.2452, allocations: 4 kB / 434.9 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.953e-05/0.2453, allocations: 27.92 kB / 434.9 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000412/0.2457, allocations: 305.6 kB / 435.2 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.2459, allocations: 79.84 kB / 435.3 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.761e-05/0.2459, allocations: 34.5 kB / 435.3 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.2459, allocations: 0 / 435.3 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.246, allocations: 38.5 kB / 435.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.246, allocations: 0 / 435.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003129/0.2463, allocations: 93.55 kB / 435.5 MB, free: 3.273 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.461e-05/0.2464, allocations: 111.2 kB / 435.6 MB, free: 3.141 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.2465, allocations: 141.8 kB / 435.7 MB, free: 2.992 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.2466, allocations: 29.64 kB / 435.7 MB, free: 2.957 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.077e-05/0.2466, allocations: 92.06 kB / 435.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.291e-05/0.2466, allocations: 7.953 kB / 435.8 MB, free: 2.855 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.2467, allocations: 17.72 kB / 435.9 MB, free: 2.832 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.2468, allocations: 322.8 kB / 436.2 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.214e-05/0.2469, allocations: 4 kB / 436.2 MB, free: 2.504 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.256e-05/0.2469, allocations: 39.42 kB / 436.2 MB, free: 2.453 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.247, allocations: 55.36 kB / 436.3 MB, free: 2.387 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.247, allocations: 3.938 kB / 436.3 MB, free: 2.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001565/0.2472, allocations: 73.5 kB / 436.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.2472, allocations: 8 kB / 436.4 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2472, allocations: 0 / 436.4 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.2472, allocations: 0 / 436.4 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.321e-05/0.2473, allocations: 12.11 kB / 436.4 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.2473, allocations: 7.922 kB / 436.4 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.817e-05/0.2473, allocations: 4 kB / 436.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.2473, allocations: 4 kB / 436.4 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.0001136/0.2474, allocations: 129.7 kB / 436.5 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.336e-05/0.2475, allocations: 45.66 kB / 436.6 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.327e-05/0.2476, allocations: 19.91 kB / 436.6 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/0.2476, allocations: 4 kB / 436.6 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.2476, allocations: 0 / 436.6 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2476, allocations: 4.031 kB / 436.6 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.2478, allocations: 121.3 kB / 436.7 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.2478, allocations: 7.922 kB / 436.7 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.372e-06/0.2478, allocations: 0 / 436.7 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.2478, allocations: 4 kB / 436.7 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.2478, allocations: 0 / 436.7 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2478, allocations: 3.938 kB / 436.7 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2478, allocations: 4.094 kB / 436.7 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.2481, allocations: 251.6 kB / 437 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.2481, allocations: 19.88 kB / 437 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.2481, allocations: 8 kB / 437 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.777e-05/0.2482, allocations: 0 / 437 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.2483, allocations: 11.98 kB / 437 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.2483, allocations: 0 / 437 MB, free: 1.578 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.936e-05/0.2483, allocations: 105.6 kB / 437.1 MB, free: 1.477 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2483, allocations: 0 / 437.1 MB, free: 1.477 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.2486, allocations: 11.94 kB / 437.1 MB, free: 1.465 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.0001195/0.2487, allocations: 102.5 kB / 437.2 MB, free: 1.359 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001628/0.2489, allocations: 39.92 kB / 437.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2489, allocations: 0 / 437.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.678e-05/0.2489, allocations: 15.98 kB / 437.3 MB, free: 1.305 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.2494, allocations: 35.81 kB / 437.3 MB, free: 1.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004017/0.2498, allocations: 204.9 kB / 437.5 MB, free: 1.031 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.511e-05/0.2498, allocations: 79.78 kB / 437.6 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.2499, allocations: 11.44 kB / 437.6 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of SimCode: time 4e-07/0.2499, allocations: 4 kB / 437.6 MB, free: 0.918 MB / 334.1 MB Notification: Performance of Templates: time 0.002403/0.2523, allocations: 0.8005 MB / 438.4 MB, free: 120 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/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: 7.089743528980762]