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.001339/0.001339, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001463/0.001463, allocations: 213.3 kB / 24.48 MB, free: 3.957 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.464/1.464, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.001503/0.001503, allocations: 47.92 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2365, allocations: 53.36 MB / 432.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002884/0.2394, allocations: 1.554 MB / 433.9 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004035/0.2398, allocations: 139.5 kB / 434 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.015e-05/0.2399, allocations: 11.88 kB / 434 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.969e-05/0.2399, allocations: 7.922 kB / 434 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.191e-05/0.24, allocations: 3.938 kB / 434 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/0.2402, allocations: 55.77 kB / 434.1 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.691e-05/0.2403, allocations: 31.92 kB / 434.1 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.2405, allocations: 19.97 kB / 434.1 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.449e-05/0.2405, allocations: 15.94 kB / 434.2 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.642e-05/0.2405, allocations: 19.86 kB / 434.2 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.2405, allocations: 4 kB / 434.2 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.178e-06/0.2406, allocations: 0 / 434.2 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.061e-05/0.2406, allocations: 23.92 kB / 434.2 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.477e-05/0.2407, allocations: 15.88 kB / 434.2 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.2408, allocations: 62.34 kB / 434.3 MB, free: 4.789 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2408, allocations: 0 / 434.3 MB, free: 4.789 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2408, allocations: 4 kB / 434.3 MB, free: 4.785 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.2408, allocations: 3.938 kB / 434.3 MB, free: 4.781 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.0004683/0.2413, allocations: 306 kB / 434.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.2413, allocations: 8.031 kB / 434.6 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.2413, allocations: 8.891 kB / 434.6 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.2416, allocations: 144.9 kB / 434.7 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.2416, allocations: 4.375 kB / 434.8 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.2416, allocations: 384 / 434.8 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002966/0.2419, allocations: 126.5 kB / 434.9 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.2419, allocations: 192 / 434.9 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.2419, allocations: 3.938 kB / 434.9 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.368e-05/0.2419, allocations: 7.984 kB / 434.9 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.242, allocations: 35.91 kB / 434.9 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004155/0.2425, allocations: 313.6 kB / 435.2 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.2426, allocations: 79.78 kB / 435.3 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.289e-05/0.2427, allocations: 42.5 kB / 435.3 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.2427, allocations: 0 / 435.3 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.2427, allocations: 38.55 kB / 435.4 MB, free: 3.527 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.2427, allocations: 0 / 435.4 MB, free: 3.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003476/0.2431, allocations: 117.8 kB / 435.5 MB, free: 3.406 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.569e-05/0.2432, allocations: 106.8 kB / 435.6 MB, free: 3.277 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.2433, allocations: 141.8 kB / 435.7 MB, free: 3.129 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.2433, allocations: 25.7 kB / 435.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.014e-05/0.2434, allocations: 100.1 kB / 435.9 MB, free: 2.996 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.135e-05/0.2434, allocations: 3.953 kB / 435.9 MB, free: 2.992 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.2434, allocations: 21.72 kB / 435.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.2436, allocations: 314.8 kB / 436.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.232e-05/0.2436, allocations: 15.98 kB / 436.2 MB, free: 2.633 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.301e-05/0.2437, allocations: 47.39 kB / 436.3 MB, free: 2.574 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.2438, allocations: 59.34 kB / 436.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2438, allocations: 0 / 436.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001791/0.244, allocations: 89.61 kB / 436.4 MB, free: 2.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.244, allocations: 8 kB / 436.4 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.244, allocations: 4 kB / 436.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.2441, allocations: 0 / 436.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.673e-05/0.2441, allocations: 11.94 kB / 436.4 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2442, allocations: 0 / 436.4 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.353e-05/0.2442, allocations: 7.984 kB / 436.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.2442, allocations: 4 kB / 436.4 MB, free: 2.375 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.0001107/0.2443, allocations: 121.8 kB / 436.6 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.414e-05/0.2444, allocations: 57.59 kB / 436.6 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.458e-05/0.2444, allocations: 20 kB / 436.6 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.2445, allocations: 3.984 kB / 436.6 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.2445, allocations: 8 kB / 436.6 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2445, allocations: 0 / 436.6 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.2447, allocations: 121.3 kB / 436.8 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2447, allocations: 0 / 436.8 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.878e-05/0.2447, allocations: 11.88 kB / 436.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.2447, allocations: 4 kB / 436.8 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.2447, allocations: 0 / 436.8 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2447, allocations: 32 / 436.8 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.2447, allocations: 8 kB / 436.8 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.245, allocations: 259.6 kB / 437 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.287e-05/0.245, allocations: 19.88 kB / 437.1 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.2451, allocations: 0 / 437.1 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.2452, allocations: 7.984 kB / 437.1 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.2452, allocations: 7.938 kB / 437.1 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.2452, allocations: 4 kB / 437.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.563e-05/0.2453, allocations: 110 kB / 437.2 MB, free: 1.559 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2453, allocations: 4 kB / 437.2 MB, free: 1.555 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.2456, allocations: 8 kB / 437.2 MB, free: 1.547 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.0001017/0.2457, allocations: 95.25 kB / 437.3 MB, free: 1.445 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.2458, allocations: 51.89 kB / 437.3 MB, free: 1.395 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2458, allocations: 0 / 437.3 MB, free: 1.395 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.283e-05/0.2459, allocations: 20.23 kB / 437.4 MB, free: 1.375 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.2463, allocations: 35.94 kB / 437.4 MB, free: 1.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000379/0.2467, allocations: 216.8 kB / 437.6 MB, free: 1.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.939e-05/0.2468, allocations: 79.31 kB / 437.7 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.352e-05/0.2468, allocations: 11.44 kB / 437.7 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2468, allocations: 0 / 437.7 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of Templates: time 0.002453/0.2493, allocations: 0.8417 MB / 438.5 MB, free: 148 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 -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.866069393989164]