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.001616/0.001616, allocations: 121.3 kB / 19.18 MB, free: 3.852 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.001947/0.001947, allocations: 206.5 kB / 22.12 MB, free: 0.9062 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.496/1.496, allocations: 230.2 MB / 255.2 MB, free: 15.38 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.002001/0.002001, allocations: 59.91 kB / 374.6 MB, free: 9.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1287, allocations: 53.33 MB / 427.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002963/0.1317, allocations: 1.545 MB / 429.4 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004133/0.1321, allocations: 143.5 kB / 429.6 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.218e-05/0.1322, allocations: 8 kB / 429.6 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.1323, allocations: 11.86 kB / 429.6 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.1324, allocations: 7.938 kB / 429.6 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.1327, allocations: 39.89 kB / 429.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.1328, allocations: 39.86 kB / 429.7 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.1329, allocations: 19.97 kB / 429.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.143e-05/0.133, allocations: 11.94 kB / 429.7 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.657e-05/0.133, allocations: 19.86 kB / 429.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.133, allocations: 4 kB / 429.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.14e-05/0.133, allocations: 4 kB / 429.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.437e-05/0.1331, allocations: 19.92 kB / 429.8 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.373e-05/0.1331, allocations: 27.81 kB / 429.8 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.1333, allocations: 55.67 kB / 429.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1333, allocations: 0 / 429.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1333, allocations: 0 / 429.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1333, allocations: 0 / 429.8 MB, free: 2.508 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.0005729/0.1339, allocations: 391 kB / 430.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.1339, allocations: 8.031 kB / 430.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.1339, allocations: 12.83 kB / 430.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.1342, allocations: 204.2 kB / 430.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.1343, allocations: 4.312 kB / 430.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.1343, allocations: 8.359 kB / 430.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/0.1346, allocations: 126.5 kB / 430.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.1346, allocations: 4.188 kB / 430.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1346, allocations: 3.938 kB / 430.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.19e-05/0.1346, allocations: 0 / 430.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.1348, allocations: 39.91 kB / 430.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004905/0.1353, allocations: 366 kB / 431 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.1354, allocations: 79.72 kB / 431.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.785e-05/0.1355, allocations: 34.62 kB / 431.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.1355, allocations: 4 kB / 431.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.1356, allocations: 42.5 kB / 431.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.1356, allocations: 0 / 431.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003687/0.1359, allocations: 105.5 kB / 431.2 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.159e-05/0.136, allocations: 107.2 kB / 431.3 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.1362, allocations: 148.5 kB / 431.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.1362, allocations: 29.7 kB / 431.5 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.118e-05/0.1362, allocations: 88.08 kB / 431.6 MB, free: 492 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.1363, allocations: 15.92 kB / 431.6 MB, free: 476 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.1363, allocations: 17.72 kB / 431.6 MB, free: 452 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1365, allocations: 318.8 kB / 431.9 MB, free: 124 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.653e-05/0.1365, allocations: 15.98 kB / 432 MB, free: 108 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.7e-05/0.1366, allocations: 47.34 kB / 432 MB, free: 48 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.1367, allocations: 63.34 kB / 432.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1368, allocations: 3.938 kB / 432.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002087/0.137, allocations: 77.56 kB / 432.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.137, allocations: 4 kB / 432.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.137, allocations: 7.984 kB / 432.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.137, allocations: 0 / 432.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.655e-05/0.1371, allocations: 8.125 kB / 432.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1371, allocations: 7.938 kB / 432.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.278e-05/0.1371, allocations: 7.984 kB / 432.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.1371, allocations: 8 kB / 432.2 MB, free: 15.84 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.0001145/0.1373, allocations: 121.8 kB / 432.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.1374, allocations: 49.64 kB / 432.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.603e-05/0.1374, allocations: 15.86 kB / 432.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/0.1374, allocations: 0 / 432.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.1374, allocations: 8.031 kB / 432.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1374, allocations: 3.938 kB / 432.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.1377, allocations: 173.6 kB / 432.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.1377, allocations: 0 / 432.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.994e-05/0.1377, allocations: 11.98 kB / 432.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1377, allocations: 0 / 432.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.1377, allocations: 0 / 432.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.1378, allocations: 3.938 kB / 432.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1378, allocations: 4 kB / 432.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.138, allocations: 267.5 kB / 432.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.012e-05/0.1381, allocations: 101 kB / 432.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.1381, allocations: 0 / 432.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1382, allocations: 7.984 kB / 432.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.1383, allocations: 4.141 kB / 432.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.1383, allocations: 4 kB / 433 MB, free: 14.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.386e-05/0.1384, allocations: 114.2 kB / 433.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1384, allocations: 0 / 433.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000262/0.1386, allocations: 4 kB / 433.1 MB, free: 14.86 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.0001338/0.1388, allocations: 111.2 kB / 433.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000216/0.139, allocations: 48.09 kB / 433.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.139, allocations: 0 / 433.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.448e-05/0.1391, allocations: 19.92 kB / 433.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.1395, allocations: 27.95 kB / 433.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004106/0.1399, allocations: 208.9 kB / 433.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.1402, allocations: 0.6972 MB / 434.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.302e-05/0.1403, allocations: 11.44 kB / 434.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1403, allocations: 0 / 434.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of Templates: time 0.002515/0.1428, allocations: 0.8299 MB / 435 MB, free: 12.85 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.822961498983204]