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.001735/0.001735, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002114/0.002114, allocations: 207.2 kB / 24.47 MB, free: 3.977 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.428/1.428, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.001593/0.001593, allocations: 47.92 kB / 378.9 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.222, allocations: 53.38 MB / 432.3 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.00279/0.2248, allocations: 1.551 MB / 433.9 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003874/0.2252, allocations: 139.5 kB / 434 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.599e-05/0.2253, allocations: 7.938 kB / 434 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.223e-05/0.2254, allocations: 7.922 kB / 434 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.049e-05/0.2255, allocations: 7.922 kB / 434 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.2257, allocations: 43.84 kB / 434.1 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000109/0.2258, allocations: 39.91 kB / 434.1 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.2259, allocations: 11.98 kB / 434.1 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.365e-05/0.226, allocations: 15.94 kB / 434.1 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.438e-05/0.226, allocations: 19.86 kB / 434.2 MB, free: 5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.226, allocations: 4 kB / 434.2 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.071e-05/0.2261, allocations: 0 / 434.2 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.649e-05/0.2261, allocations: 23.92 kB / 434.2 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.2261, allocations: 19.81 kB / 434.2 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.2263, allocations: 62.62 kB / 434.3 MB, free: 4.895 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2263, allocations: 8 kB / 434.3 MB, free: 4.887 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2263, allocations: 0 / 434.3 MB, free: 4.887 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.2263, allocations: 0 / 434.3 MB, free: 4.887 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.0004597/0.2267, allocations: 306 kB / 434.6 MB, free: 4.555 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.2268, allocations: 12.02 kB / 434.6 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.249e-05/0.2268, allocations: 12.89 kB / 434.6 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.227, allocations: 138.4 kB / 434.7 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.227, allocations: 4.375 kB / 434.7 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.227, allocations: 4.359 kB / 434.7 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002865/0.2273, allocations: 126.5 kB / 434.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.2273, allocations: 4.125 kB / 434.9 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.2274, allocations: 7.922 kB / 434.9 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/0.2274, allocations: 4 kB / 434.9 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.2275, allocations: 35.91 kB / 434.9 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004007/0.2279, allocations: 313.5 kB / 435.2 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.2281, allocations: 83.78 kB / 435.3 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.616e-05/0.2282, allocations: 42.55 kB / 435.4 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.2282, allocations: 0 / 435.4 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.2282, allocations: 34.56 kB / 435.4 MB, free: 3.621 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.2282, allocations: 0 / 435.4 MB, free: 3.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003567/0.2286, allocations: 117.7 kB / 435.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.109e-05/0.2286, allocations: 102.8 kB / 435.6 MB, free: 3.375 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.2288, allocations: 144.6 kB / 435.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.2288, allocations: 25.7 kB / 435.8 MB, free: 3.195 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.819e-05/0.2288, allocations: 96.06 kB / 435.9 MB, free: 3.098 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.2289, allocations: 7.891 kB / 435.9 MB, free: 3.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/0.2289, allocations: 21.72 kB / 435.9 MB, free: 3.062 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.2291, allocations: 318.8 kB / 436.2 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.888e-05/0.2291, allocations: 15.98 kB / 436.2 MB, free: 2.727 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.646e-05/0.2292, allocations: 43.48 kB / 436.3 MB, free: 2.672 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.2293, allocations: 59.34 kB / 436.3 MB, free: 2.602 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2293, allocations: 0 / 436.3 MB, free: 2.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001931/0.2295, allocations: 97.45 kB / 436.4 MB, free: 2.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.2295, allocations: 4 kB / 436.4 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.2296, allocations: 4 kB / 436.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.2296, allocations: 0 / 436.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.532e-05/0.2296, allocations: 11.98 kB / 436.4 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.2297, allocations: 0 / 436.4 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.413e-05/0.2297, allocations: 4 kB / 436.4 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.2297, allocations: 4 kB / 436.4 MB, free: 2.473 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.00011/0.2298, allocations: 121.8 kB / 436.6 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.991e-05/0.2299, allocations: 61.62 kB / 436.6 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.154e-05/0.2299, allocations: 15.91 kB / 436.6 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.23, allocations: 0 / 436.6 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.23, allocations: 4 kB / 436.6 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.23, allocations: 0 / 436.6 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.2302, allocations: 121.3 kB / 436.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2302, allocations: 0 / 436.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.993e-05/0.2302, allocations: 7.938 kB / 436.8 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.2302, allocations: 4 kB / 436.8 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.2303, allocations: 4 kB / 436.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2303, allocations: 4.031 kB / 436.8 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.2303, allocations: 7.984 kB / 436.8 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.2306, allocations: 263.5 kB / 437 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/0.2306, allocations: 19.89 kB / 437.1 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.2306, allocations: 3.938 kB / 437.1 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.2307, allocations: 12.11 kB / 437.1 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.2308, allocations: 3.984 kB / 437.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.2308, allocations: 4 kB / 437.1 MB, free: 1.758 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.403e-05/0.2309, allocations: 115.2 kB / 437.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2309, allocations: 0 / 437.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002815/0.2311, allocations: 12 kB / 437.2 MB, free: 1.633 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 9.337e-05/0.2312, allocations: 95.25 kB / 437.3 MB, free: 1.531 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.2314, allocations: 47.89 kB / 437.3 MB, free: 1.484 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2314, allocations: 0 / 437.3 MB, free: 1.484 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.074e-05/0.2315, allocations: 24.23 kB / 437.4 MB, free: 1.461 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.2319, allocations: 30.28 kB / 437.4 MB, free: 1.434 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003389/0.2323, allocations: 183.2 kB / 437.6 MB, free: 1.223 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.2324, allocations: 79.31 kB / 437.7 MB, free: 1.125 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.467e-05/0.2324, allocations: 8 kB / 437.7 MB, free: 1.117 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.505e-05/0.2324, allocations: 7.438 kB / 437.7 MB, free: 1.109 MB / 334.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2324, allocations: 0 / 437.7 MB, free: 1.109 MB / 334.1 MB Notification: Performance of Templates: time 0.00313/0.2355, allocations: 0.7021 MB / 438.4 MB, free: 440 kB / 334.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 -s gbode -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: 4.258491525994032]