Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001671/0.001671, allocations: 111.9 kB / 19.18 MB, free: 3.762 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.002332/0.002332, allocations: 208.9 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.544/1.544, allocations: 230.4 MB / 255.4 MB, free: 15 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 71.88 kB / 374.7 MB, free: 9.742 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1397, allocations: 53.31 MB / 428 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003437/0.1432, allocations: 1.541 MB / 429.6 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004878/0.1437, allocations: 155.5 kB / 429.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.394e-05/0.1438, allocations: 4 kB / 429.7 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.1439, allocations: 3.938 kB / 429.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.144, allocations: 15.86 kB / 429.8 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.1442, allocations: 39.84 kB / 429.8 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.1444, allocations: 39.91 kB / 429.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.1445, allocations: 12 kB / 429.9 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.346e-05/0.1446, allocations: 15.92 kB / 429.9 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.943e-05/0.1446, allocations: 19.86 kB / 429.9 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.1446, allocations: 7.984 kB / 429.9 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.391e-05/0.1447, allocations: 4 kB / 429.9 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.338e-05/0.1447, allocations: 11.94 kB / 429.9 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.479e-05/0.1448, allocations: 35.8 kB / 429.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.1449, allocations: 55.62 kB / 430 MB, free: 2.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1449, allocations: 0 / 430 MB, free: 2.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1449, allocations: 0 / 430 MB, free: 2.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1449, allocations: 0 / 430 MB, free: 2.379 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.0006369/0.1456, allocations: 391 kB / 430.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.1456, allocations: 8.031 kB / 430.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.1457, allocations: 8.891 kB / 430.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.146, allocations: 200.2 kB / 430.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.146, allocations: 384 / 430.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.146, allocations: 12.36 kB / 430.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003737/0.1464, allocations: 122.4 kB / 430.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1464, allocations: 8.125 kB / 430.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.1464, allocations: 7.938 kB / 430.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/0.1465, allocations: 0 / 430.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.1466, allocations: 35.97 kB / 430.8 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006613/0.1472, allocations: 361.9 kB / 431.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.1474, allocations: 91.7 kB / 431.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.847e-05/0.1475, allocations: 30.62 kB / 431.2 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.1475, allocations: 0 / 431.2 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.1476, allocations: 42.56 kB / 431.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.1476, allocations: 0 / 431.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003779/0.1479, allocations: 109.5 kB / 431.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.361e-05/0.148, allocations: 103.2 kB / 431.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.1482, allocations: 155 kB / 431.7 MB, free: 488 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.1482, allocations: 25.7 kB / 431.7 MB, free: 456 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.53e-05/0.1483, allocations: 84.14 kB / 431.8 MB, free: 368 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.328e-05/0.1483, allocations: 7.953 kB / 431.8 MB, free: 360 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.1483, allocations: 17.72 kB / 431.8 MB, free: 336 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.1485, allocations: 326.8 kB / 432.1 MB, free: 0 / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2803/0.4288, allocations: 10.2 kB / 432.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.343e-05/0.4289, allocations: 46.61 kB / 432.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.4291, allocations: 61.22 kB / 432.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.4291, allocations: 6.188 kB / 432.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002348/0.4293, allocations: 79.98 kB / 432.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.4293, allocations: 9.641 kB / 432.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.4293, allocations: 1.312 kB / 432.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/0.4294, allocations: 1.703 kB / 432.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.922e-05/0.4295, allocations: 11.98 kB / 432.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.4295, allocations: 1.125 kB / 432.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.732e-05/0.4295, allocations: 6.328 kB / 432.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.4295, allocations: 3.484 kB / 432.3 MB, free: 10.99 MB / 350.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.0001152/0.4296, allocations: 123.3 kB / 432.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.4298, allocations: 56.12 kB / 432.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.491e-05/0.4298, allocations: 11 kB / 432.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.197e-05/0.4298, allocations: 4.281 kB / 432.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.4298, allocations: 1.188 kB / 432.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4298, allocations: 2.484 kB / 432.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002428/0.4301, allocations: 178.4 kB / 432.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.4301, allocations: 4.938 kB / 432.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.699e-05/0.4301, allocations: 8.734 kB / 432.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.4301, allocations: 1.125 kB / 432.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.4301, allocations: 1.375 kB / 432.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.4301, allocations: 2.344 kB / 432.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4301, allocations: 0.5312 kB / 432.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.4304, allocations: 271.6 kB / 433 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-05/0.4304, allocations: 96.69 kB / 433.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.4304, allocations: 2.125 kB / 433.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.4305, allocations: 6.625 kB / 433.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.4306, allocations: 4.266 kB / 433.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.4306, allocations: 8.844 kB / 433.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.583e-05/0.4307, allocations: 108.7 kB / 433.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4307, allocations: 3.531 kB / 433.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002847/0.431, allocations: 11.66 kB / 433.2 MB, free: 10.25 MB / 350.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.0001069/0.4311, allocations: 102.5 kB / 433.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002082/0.4313, allocations: 45.8 kB / 433.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4313, allocations: 4.344 kB / 433.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.639e-05/0.4313, allocations: 19.2 kB / 433.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.4318, allocations: 26.05 kB / 433.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000393/0.4322, allocations: 216.4 kB / 433.6 MB, free: 10 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001564/0.4323, allocations: 0.6989 MB / 434.3 MB, free: 9.305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.4323, allocations: 9.594 kB / 434.3 MB, free: 9.297 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4323, allocations: 0 / 434.3 MB, free: 9.297 MB / 350.1 MB Notification: Performance of Templates: time 0.002547/0.4349, allocations: 0.8274 MB / 435.2 MB, free: 9.277 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.331213664961979]