Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001672/0.001672, allocations: 116.8 kB / 19.18 MB, free: 3.926 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.001892/0.001892, allocations: 210.6 kB / 22.13 MB, free: 0.9805 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.463/1.463, allocations: 230.2 MB / 255.1 MB, free: 15.27 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.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003153/0.003153, allocations: 67.88 kB / 374.5 MB, free: 9.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1252, allocations: 53.32 MB / 427.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003021/0.1282, allocations: 1.541 MB / 429.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004227/0.1287, allocations: 155.5 kB / 429.5 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.76e-05/0.1287, allocations: 3.938 kB / 429.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.919e-05/0.1288, allocations: 3.938 kB / 429.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.398e-05/0.1289, allocations: 11.94 kB / 429.5 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.1292, allocations: 43.77 kB / 429.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.1293, allocations: 39.91 kB / 429.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.831e-05/0.1294, allocations: 12 kB / 429.6 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.674e-05/0.1294, allocations: 19.92 kB / 429.7 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.289e-05/0.1295, allocations: 27.84 kB / 429.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.1295, allocations: 0 / 429.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.127e-05/0.1295, allocations: 4 kB / 429.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.242e-05/0.1295, allocations: 11.94 kB / 429.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.187e-05/0.1296, allocations: 27.8 kB / 429.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.1297, allocations: 55.69 kB / 429.8 MB, free: 2.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1297, allocations: 7.938 kB / 429.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1297, allocations: 0 / 429.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.1297, allocations: 0 / 429.8 MB, free: 2.539 MB / 350.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.0005064/0.1302, allocations: 387 kB / 430.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.1303, allocations: 11.97 kB / 430.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.784e-05/0.1303, allocations: 12.83 kB / 430.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.1306, allocations: 196.2 kB / 430.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.1306, allocations: 4.375 kB / 430.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.1306, allocations: 384 / 430.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.1309, allocations: 134.4 kB / 430.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.1309, allocations: 192 / 430.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.1309, allocations: 3.938 kB / 430.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/0.131, allocations: 4 kB / 430.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.1311, allocations: 35.91 kB / 430.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004693/0.1316, allocations: 362 kB / 430.9 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.1317, allocations: 87.7 kB / 431 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.922e-05/0.1318, allocations: 38.56 kB / 431 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.1318, allocations: 4 kB / 431 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.1318, allocations: 30.56 kB / 431.1 MB, free: 1.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1318, allocations: 0 / 431.1 MB, free: 1.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003334/0.1322, allocations: 113.6 kB / 431.2 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.193e-05/0.1322, allocations: 106.8 kB / 431.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.1324, allocations: 145.8 kB / 431.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.1324, allocations: 29.7 kB / 431.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.935e-05/0.1325, allocations: 88.14 kB / 431.5 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.117e-05/0.1325, allocations: 4.234 kB / 431.5 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.9e-05/0.1325, allocations: 21.72 kB / 431.6 MB, free: 500 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1327, allocations: 322.8 kB / 431.9 MB, free: 168 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.753e-05/0.1327, allocations: 11.98 kB / 431.9 MB, free: 156 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.849e-05/0.1328, allocations: 39.42 kB / 431.9 MB, free: 104 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.1329, allocations: 63.34 kB / 432 MB, free: 28 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.1329, allocations: 7.875 kB / 432 MB, free: 20 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001986/0.1331, allocations: 81.75 kB / 432.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.1331, allocations: 12.03 kB / 432.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1332, allocations: 0 / 432.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1332, allocations: 0 / 432.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.436e-05/0.1332, allocations: 15.92 kB / 432.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1333, allocations: 4 kB / 432.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.14e-05/0.1333, allocations: 4 kB / 432.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.1333, allocations: 0 / 432.1 MB, free: 15.89 MB / 366.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.000106/0.1334, allocations: 129.8 kB / 432.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.857e-05/0.1335, allocations: 53.64 kB / 432.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.301e-05/0.1335, allocations: 15.88 kB / 432.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.1336, allocations: 7.938 kB / 432.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1336, allocations: 0 / 432.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1336, allocations: 0 / 432.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.1338, allocations: 181.6 kB / 432.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1338, allocations: 0 / 432.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.599e-05/0.1339, allocations: 12.03 kB / 432.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1339, allocations: 3.984 kB / 432.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.1339, allocations: 32 / 432.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1339, allocations: 8 kB / 432.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1339, allocations: 0 / 432.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.1341, allocations: 267.5 kB / 432.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.012e-05/0.1342, allocations: 93 kB / 432.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.1342, allocations: 11.98 kB / 432.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.992e-05/0.1343, allocations: 4 kB / 432.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.1344, allocations: 3.938 kB / 432.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.1344, allocations: 0 / 432.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.192e-05/0.1345, allocations: 113.8 kB / 433 MB, free: 14.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1345, allocations: 0 / 433 MB, free: 14.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.1347, allocations: 4 kB / 433 MB, free: 14.89 MB / 366.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.000135/0.1349, allocations: 111.2 kB / 433.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001775/0.135, allocations: 43.91 kB / 433.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.135, allocations: 0 / 433.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.917e-05/0.1351, allocations: 19.98 kB / 433.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.1355, allocations: 26.77 kB / 433.2 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003951/0.1359, allocations: 222.6 kB / 433.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.1362, allocations: 0.6885 MB / 434.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.1363, allocations: 11.44 kB / 434.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1363, allocations: 0 / 434.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of Templates: time 0.0026/0.1389, allocations: 0.8423 MB / 435 MB, free: 12.88 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.674777565058321]