Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.402/1.402, allocations: 230.6 MB / 258.3 MB, free: 7.977 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 47.92 kB / 379 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2351, allocations: 53.36 MB / 432.4 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002907/0.238, allocations: 1.559 MB / 433.9 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003954/0.2384, allocations: 143.5 kB / 434.1 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.538e-05/0.2384, allocations: 7.938 kB / 434.1 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.2385, allocations: 3.938 kB / 434.1 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.308e-05/0.2386, allocations: 7.922 kB / 434.1 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.2388, allocations: 43.84 kB / 434.1 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.2389, allocations: 39.84 kB / 434.2 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.279e-05/0.239, allocations: 8 kB / 434.2 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.694e-05/0.2391, allocations: 19.92 kB / 434.2 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.164e-05/0.2391, allocations: 31.84 kB / 434.2 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.2391, allocations: 4 kB / 434.2 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.128e-05/0.2392, allocations: 4 kB / 434.3 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.838e-05/0.2392, allocations: 15.94 kB / 434.3 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.93e-05/0.2392, allocations: 27.73 kB / 434.3 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.2394, allocations: 64.89 kB / 434.4 MB, free: 4.957 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2394, allocations: 0 / 434.4 MB, free: 4.957 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2394, allocations: 0 / 434.4 MB, free: 4.957 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.2394, allocations: 0 / 434.4 MB, free: 4.957 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.0004635/0.2398, allocations: 310 kB / 434.7 MB, free: 4.621 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.2399, allocations: 8.031 kB / 434.7 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.056e-05/0.2399, allocations: 8.891 kB / 434.7 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.2401, allocations: 140.8 kB / 434.8 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.2402, allocations: 4.359 kB / 434.8 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.2402, allocations: 4.375 kB / 434.8 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002925/0.2405, allocations: 126.5 kB / 434.9 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2405, allocations: 192 / 434.9 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.2405, allocations: 3.938 kB / 435 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.2405, allocations: 3.938 kB / 435 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.2406, allocations: 35.97 kB / 435 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004368/0.2411, allocations: 340.9 kB / 435.3 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.2412, allocations: 83.7 kB / 435.4 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.813e-05/0.2413, allocations: 38.62 kB / 435.4 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.2413, allocations: 7.984 kB / 435.4 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.2413, allocations: 34.56 kB / 435.5 MB, free: 3.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.2413, allocations: 3.938 kB / 435.5 MB, free: 3.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003347/0.2417, allocations: 113.7 kB / 435.6 MB, free: 3.539 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.443e-05/0.2417, allocations: 102.8 kB / 435.7 MB, free: 3.414 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.2419, allocations: 149.8 kB / 435.8 MB, free: 3.258 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.2419, allocations: 25.7 kB / 435.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.869e-05/0.2419, allocations: 88.14 kB / 436 MB, free: 3.137 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.129e-05/0.242, allocations: 3.953 kB / 436 MB, free: 3.133 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.242, allocations: 25.89 kB / 436 MB, free: 3.102 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.2421, allocations: 318.8 kB / 436.3 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.938e-05/0.2422, allocations: 11.98 kB / 436.3 MB, free: 2.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.428e-05/0.2423, allocations: 43.41 kB / 436.4 MB, free: 2.715 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.2424, allocations: 63.34 kB / 436.4 MB, free: 2.641 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.2424, allocations: 7.938 kB / 436.4 MB, free: 2.633 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001769/0.2426, allocations: 73.56 kB / 436.5 MB, free: 2.555 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.2426, allocations: 12.06 kB / 436.5 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2426, allocations: 11.98 kB / 436.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.2426, allocations: 3.938 kB / 436.5 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.402e-05/0.2427, allocations: 11.98 kB / 436.5 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.2427, allocations: 4 kB / 436.5 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.574e-05/0.2428, allocations: 11.98 kB / 436.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.2428, allocations: 0 / 436.5 MB, free: 2.5 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[2],sample1.u[1],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.0001003/0.2429, allocations: 121.8 kB / 436.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.243, allocations: 61.56 kB / 436.7 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.744e-05/0.243, allocations: 15.92 kB / 436.7 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.243, allocations: 3.984 kB / 436.7 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.243, allocations: 4 kB / 436.7 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.243, allocations: 0 / 436.7 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002345/0.2433, allocations: 144.7 kB / 436.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2433, allocations: 0 / 436.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.955e-05/0.2433, allocations: 11.98 kB / 436.9 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2433, allocations: 0 / 436.9 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.2433, allocations: 4 kB / 436.9 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2433, allocations: 11.97 kB / 436.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2433, allocations: 0 / 436.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002678/0.2436, allocations: 263.5 kB / 437.2 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/0.2436, allocations: 19.94 kB / 437.2 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.2437, allocations: 0 / 437.2 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.2438, allocations: 8 kB / 437.2 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.2438, allocations: 3.984 kB / 437.2 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.2438, allocations: 4 kB / 437.2 MB, free: 1.754 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.921e-05/0.2439, allocations: 106.2 kB / 437.3 MB, free: 1.652 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2439, allocations: 0 / 437.3 MB, free: 1.652 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000263/0.2442, allocations: 12 kB / 437.3 MB, free: 1.641 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[2],sample1.u[1],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.0001067/0.2443, allocations: 99.23 kB / 437.4 MB, free: 1.535 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001901/0.2444, allocations: 47.91 kB / 437.5 MB, free: 1.488 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2445, allocations: 0 / 437.5 MB, free: 1.488 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.214e-05/0.2445, allocations: 19.98 kB / 437.5 MB, free: 1.469 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.2449, allocations: 30.55 kB / 437.5 MB, free: 1.441 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003796/0.2453, allocations: 213.4 kB / 437.7 MB, free: 1.195 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.2456, allocations: 0.6924 MB / 438.4 MB, free: 488 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.08e-05/0.2457, allocations: 11.44 kB / 438.4 MB, free: 476 kB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2457, allocations: 0 / 438.4 MB, free: 476 kB / 334.1 MB Notification: Performance of Templates: time 0.002464/0.2481, allocations: 0.8471 MB / 439.3 MB, free: 15.62 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 6.685071224113926]