Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.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.007997/0.007997, allocations: 107.4 kB / 21.98 MB, free: 5.223 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.001761/0.001761, allocations: 210.3 kB / 25.29 MB, free: 3.203 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.635/1.635, allocations: 230.6 MB / 259 MB, free: 8.277 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.RealSignals.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.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.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.00211/0.00211, allocations: 64.75 kB / 379.8 MB, free: 2.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.4076, allocations: 53.38 MB / 433.2 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003454/0.4111, allocations: 1.64 MB / 434.8 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.4123, allocations: 0.5648 MB / 435.4 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.4124, allocations: 7.938 kB / 435.4 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.4125, allocations: 3.938 kB / 435.4 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.4127, allocations: 23.86 kB / 435.4 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.413, allocations: 59.8 kB / 435.5 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.4132, allocations: 67.77 kB / 435.5 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.4133, allocations: 15.92 kB / 435.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.4135, allocations: 39.86 kB / 435.6 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.055e-05/0.4136, allocations: 27.84 kB / 435.6 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.4136, allocations: 4 kB / 435.6 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.143e-05/0.4136, allocations: 11.92 kB / 435.6 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.074e-05/0.4137, allocations: 23.92 kB / 435.7 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.224e-05/0.4138, allocations: 31.75 kB / 435.7 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.414, allocations: 80.86 kB / 435.8 MB, free: 4.371 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.414, allocations: 0 / 435.8 MB, free: 4.371 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.414, allocations: 0 / 435.8 MB, free: 4.371 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.414, allocations: 0 / 435.8 MB, free: 4.371 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.0006278/0.4146, allocations: 325.8 kB / 436.1 MB, free: 4.023 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.4147, allocations: 8.031 kB / 436.1 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002359/0.4149, allocations: 28.86 kB / 436.1 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.4152, allocations: 162.8 kB / 436.3 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.4152, allocations: 384 / 436.3 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.4153, allocations: 4.375 kB / 436.3 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000365/0.4156, allocations: 130.2 kB / 436.4 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.4156, allocations: 4 kB / 436.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.4156, allocations: 0 / 436.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.568e-05/0.4157, allocations: 4 kB / 436.4 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.4158, allocations: 35.91 kB / 436.5 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006173/0.4164, allocations: 353 kB / 436.8 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.4166, allocations: 83.77 kB / 436.9 MB, free: 3.105 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.261e-05/0.4167, allocations: 38.62 kB / 436.9 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.4167, allocations: 4 kB / 436.9 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.662e-05/0.4167, allocations: 38.44 kB / 437 MB, free: 3.008 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.4167, allocations: 0 / 437 MB, free: 3.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003759/0.4171, allocations: 113.5 kB / 437.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.4172, allocations: 111.2 kB / 437.2 MB, free: 2.758 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.4174, allocations: 150.2 kB / 437.3 MB, free: 2.602 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.4174, allocations: 25.7 kB / 437.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.674e-05/0.4175, allocations: 104 kB / 437.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.4175, allocations: 7.953 kB / 437.5 MB, free: 2.457 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.222e-05/0.4175, allocations: 17.7 kB / 437.5 MB, free: 2.434 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002108/0.4178, allocations: 322.8 kB / 437.8 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.153e-05/0.4178, allocations: 19.98 kB / 437.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.311e-05/0.4179, allocations: 51.34 kB / 437.9 MB, free: 2.027 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.4181, allocations: 63.34 kB / 437.9 MB, free: 1.953 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4181, allocations: 4 kB / 437.9 MB, free: 1.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001941/0.4183, allocations: 85.55 kB / 438 MB, free: 1.859 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.4183, allocations: 7.938 kB / 438 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.4183, allocations: 4 kB / 438 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.4183, allocations: 0 / 438 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.4184, allocations: 12.11 kB / 438 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.4184, allocations: 4 kB / 438.1 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.989e-05/0.4185, allocations: 4 kB / 438.1 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.4185, allocations: 4 kB / 438.1 MB, free: 1.824 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: 0 () * 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.0001218/0.4186, allocations: 129.7 kB / 438.2 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.4187, allocations: 53.64 kB / 438.2 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.037e-05/0.4188, allocations: 15.92 kB / 438.3 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.4188, allocations: 0 / 438.3 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.4188, allocations: 4 kB / 438.3 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.4188, allocations: 4.031 kB / 438.3 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.419, allocations: 160.6 kB / 438.4 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.4191, allocations: 4 kB / 438.4 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.174e-05/0.4191, allocations: 7.984 kB / 438.4 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.4191, allocations: 4 kB / 438.4 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.4191, allocations: 0 / 438.4 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.4191, allocations: 0 / 438.4 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4191, allocations: 0 / 438.4 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003316/0.4195, allocations: 283.5 kB / 438.7 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.175e-05/0.4195, allocations: 27.86 kB / 438.7 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.4195, allocations: 0 / 438.7 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.4196, allocations: 4 kB / 438.7 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.4197, allocations: 7.984 kB / 438.7 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.4197, allocations: 0 / 438.7 MB, free: 1.051 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.4198, allocations: 124.1 kB / 438.9 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4198, allocations: 0 / 438.9 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.4201, allocations: 8 kB / 438.9 MB, free: 0.9219 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: 0 () * 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.0001383/0.4202, allocations: 99.19 kB / 439 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002252/0.4204, allocations: 55.83 kB / 439 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4204, allocations: 256 / 439 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.181e-05/0.4205, allocations: 27.92 kB / 439.1 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.421, allocations: 22.2 kB / 439.1 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005661/0.4215, allocations: 230.7 kB / 439.3 MB, free: 464 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.422, allocations: 0.7042 MB / 440 MB, free: 15.72 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.422, allocations: 15.44 kB / 440 MB, free: 15.71 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.422, allocations: 0 / 440 MB, free: 15.71 MB / 350.1 MB Notification: Performance of Templates: time 0.003124/0.4251, allocations: 0.9729 MB / 441 MB, free: 14.74 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.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.517630324000493]