Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002046/0.002046, allocations: 118.4 kB / 18.41 MB, free: 4.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002433/0.002433, allocations: 190.7 kB / 21.35 MB, free: 1.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 222.9 MB / 247 MB, free: 4.371 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 51.91 kB / 358.7 MB, free: 8.664 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1286, allocations: 49.43 MB / 408.1 MB, free: 7.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003391/0.1321, allocations: 1.52 MB / 409.6 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004609/0.1326, allocations: 151.5 kB / 409.8 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.557e-05/0.1327, allocations: 3.938 kB / 409.8 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.1328, allocations: 7.938 kB / 409.8 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.133, allocations: 3.938 kB / 409.8 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.1332, allocations: 47.83 kB / 409.8 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.1334, allocations: 39.86 kB / 409.9 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.1335, allocations: 15.98 kB / 409.9 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.855e-05/0.1335, allocations: 15.92 kB / 409.9 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.546e-05/0.1336, allocations: 15.88 kB / 409.9 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.275e-05/0.1336, allocations: 4 kB / 409.9 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.612e-05/0.1337, allocations: 7.938 kB / 409.9 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.882e-05/0.1337, allocations: 19.91 kB / 409.9 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.053e-05/0.1338, allocations: 31.81 kB / 410 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.134, allocations: 51.69 kB / 410 MB, free: 5.242 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.134, allocations: 7.938 kB / 410 MB, free: 5.234 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.134, allocations: 0 / 410 MB, free: 5.234 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.134, allocations: 0 / 410 MB, free: 5.234 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.0006249/0.1346, allocations: 387.1 kB / 410.4 MB, free: 4.805 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.1347, allocations: 8.031 kB / 410.4 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.1347, allocations: 12.84 kB / 410.4 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.1351, allocations: 196.2 kB / 410.6 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.1351, allocations: 4.375 kB / 410.6 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.1351, allocations: 4.375 kB / 410.6 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000323/0.1354, allocations: 114.5 kB / 410.7 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1355, allocations: 12.19 kB / 410.8 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.1355, allocations: 7.938 kB / 410.8 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.81e-05/0.1355, allocations: 7.969 kB / 410.8 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.1357, allocations: 39.91 kB / 410.8 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005573/0.1362, allocations: 366 kB / 411.2 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.1364, allocations: 79.72 kB / 411.2 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.225e-05/0.1365, allocations: 42.56 kB / 411.3 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.1365, allocations: 7.984 kB / 411.3 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.1366, allocations: 30.56 kB / 411.3 MB, free: 3.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 3.647e-06/0.1366, allocations: 0 / 411.3 MB, free: 3.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004179/0.137, allocations: 109.5 kB / 411.4 MB, free: 3.617 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.1371, allocations: 115.1 kB / 411.5 MB, free: 3.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.1373, allocations: 139.9 kB / 411.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.1373, allocations: 25.7 kB / 411.7 MB, free: 3.305 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.324e-05/0.1374, allocations: 100.1 kB / 411.8 MB, free: 3.203 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.1374, allocations: 3.938 kB / 411.8 MB, free: 3.199 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.1375, allocations: 25.67 kB / 411.8 MB, free: 3.168 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.1376, allocations: 314.8 kB / 412.1 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.06e-05/0.1377, allocations: 15.98 kB / 412.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.929e-05/0.1378, allocations: 43.42 kB / 412.2 MB, free: 2.781 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.138, allocations: 63.34 kB / 412.3 MB, free: 2.707 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.138, allocations: 3.938 kB / 412.3 MB, free: 2.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001778/0.1382, allocations: 77.59 kB / 412.3 MB, free: 2.621 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.1382, allocations: 11.94 kB / 412.4 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.1382, allocations: 0 / 412.4 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.1382, allocations: 0 / 412.4 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.719e-05/0.1383, allocations: 11.94 kB / 412.4 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.1383, allocations: 12.11 kB / 412.4 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.322e-05/0.1384, allocations: 4 kB / 412.4 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.1384, allocations: 0 / 412.4 MB, free: 2.582 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.0001444/0.1386, allocations: 129.7 kB / 412.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-05/0.1387, allocations: 53.61 kB / 412.6 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.935e-05/0.1387, allocations: 15.86 kB / 412.6 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/0.1387, allocations: 4 kB / 412.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.1387, allocations: 0 / 412.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1388, allocations: 4.031 kB / 412.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000274/0.139, allocations: 173.6 kB / 412.7 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.139, allocations: 3.938 kB / 412.8 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.708e-05/0.1391, allocations: 11.98 kB / 412.8 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1391, allocations: 0 / 412.8 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.1391, allocations: 4 kB / 412.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.1391, allocations: 0 / 412.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1391, allocations: 3.938 kB / 412.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.1395, allocations: 267.5 kB / 413 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.133e-05/0.1396, allocations: 93.05 kB / 413.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.1396, allocations: 7.984 kB / 413.1 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.1397, allocations: 11.98 kB / 413.1 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.578e-05/0.1398, allocations: 3.938 kB / 413.1 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.1398, allocations: 4 kB / 413.2 MB, free: 1.699 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001029/0.1399, allocations: 113.3 kB / 413.3 MB, free: 1.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1399, allocations: 0 / 413.3 MB, free: 1.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.1402, allocations: 4 kB / 413.3 MB, free: 1.586 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.0001387/0.1403, allocations: 103.2 kB / 413.4 MB, free: 1.477 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.1405, allocations: 52.08 kB / 413.4 MB, free: 1.426 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1405, allocations: 8.062 kB / 413.4 MB, free: 1.418 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.242e-05/0.1406, allocations: 11.98 kB / 413.4 MB, free: 1.406 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.1411, allocations: 31.95 kB / 413.5 MB, free: 1.375 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004708/0.1416, allocations: 208.6 kB / 413.7 MB, free: 1.133 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/0.142, allocations: 0.6965 MB / 414.4 MB, free: 420 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.236e-05/0.142, allocations: 15.44 kB / 414.4 MB, free: 404 kB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.142, allocations: 0 / 414.4 MB, free: 404 kB / 334.1 MB Notification: Performance of Templates: time 0.002747/0.1448, allocations: 0.8229 MB / 415.2 MB, free: 15.58 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.258562822942622]