Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001489/0.001489, allocations: 79.39 kB / 20.68 MB, free: 1.027 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.001414/0.001414, allocations: 147.6 kB / 23.94 MB, free: 4.164 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.439/1.439, allocations: 173.3 MB / 200.4 MB, free: 12.88 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.RealSignals.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.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.757e-05, allocations: 2.281 kB / 318.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.00254/0.002568, allocations: 1.599 MB / 320.5 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000816/0.003384, allocations: 470.6 kB / 321 MB, free: 2.16 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.771e-05/0.003471, allocations: 2.062 kB / 321 MB, free: 2.16 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.003578, allocations: 13.92 kB / 321 MB, free: 2.148 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.003691, allocations: 13.38 kB / 321 MB, free: 2.141 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.003973, allocations: 45.38 kB / 321.1 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.00412, allocations: 69.81 kB / 321.1 MB, free: 2.082 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.004233, allocations: 16.88 kB / 321.2 MB, free: 2.07 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.599e-05/0.004329, allocations: 34.22 kB / 321.2 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.632e-05/0.004395, allocations: 21.8 kB / 321.2 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.00442, allocations: 3.812 kB / 321.2 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.577e-05/0.004436, allocations: 8.531 kB / 321.2 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.33e-05/0.004499, allocations: 15.81 kB / 321.2 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.77e-05/0.004557, allocations: 16.95 kB / 321.2 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.004702, allocations: 71.64 kB / 321.3 MB, free: 2 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.004704, allocations: 1.156 kB / 321.3 MB, free: 2 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.004705, allocations: 4 kB / 321.3 MB, free: 1.996 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.00471, allocations: 0 / 321.3 MB, free: 1.996 MB / 286.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.0004709/0.005181, allocations: 323 kB / 321.6 MB, free: 1.691 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.00522, allocations: 9.797 kB / 321.6 MB, free: 1.691 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.005259, allocations: 11.11 kB / 321.7 MB, free: 1.688 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.005474, allocations: 144.7 kB / 321.8 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.00549, allocations: 2.688 kB / 321.8 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.00551, allocations: 2.438 kB / 321.8 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003305/0.00584, allocations: 129.9 kB / 321.9 MB, free: 1.445 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.005851, allocations: 4.125 kB / 321.9 MB, free: 1.441 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.005865, allocations: 5.656 kB / 321.9 MB, free: 1.438 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/0.005892, allocations: 11.8 kB / 322 MB, free: 1.43 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.006042, allocations: 34.81 kB / 322 MB, free: 1.426 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.006444, allocations: 319.8 kB / 322.3 MB, free: 1.117 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.006596, allocations: 87.55 kB / 322.4 MB, free: 1.031 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.943e-05/0.006686, allocations: 41.61 kB / 322.4 MB, free: 1 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.006704, allocations: 1.094 kB / 322.4 MB, free: 1 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.006725, allocations: 37.66 kB / 322.5 MB, free: 0.957 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.006726, allocations: 0 / 322.5 MB, free: 0.957 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004099/0.007136, allocations: 120.6 kB / 322.6 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.007183, allocations: 105.8 kB / 322.7 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.007313, allocations: 152.4 kB / 322.8 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.007324, allocations: 25.7 kB / 322.9 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.239e-05/0.007366, allocations: 97.69 kB / 323 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.007385, allocations: 5.328 kB / 323 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.00742, allocations: 19.09 kB / 323 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.589e-05/0.007476, allocations: 314.5 kB / 323.3 MB, free: 204 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.067e-05/0.007547, allocations: 17.64 kB / 323.3 MB, free: 200 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.393e-05/0.007611, allocations: 27.83 kB / 323.3 MB, free: 180 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.007744, allocations: 48.94 kB / 323.4 MB, free: 152 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.007745, allocations: 1.156 kB / 323.4 MB, free: 152 kB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002337/0.007979, allocations: 73 kB / 323.5 MB, free: 108 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.007998, allocations: 4.75 kB / 323.5 MB, free: 108 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.008004, allocations: 4.828 kB / 323.5 MB, free: 104 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.008023, allocations: 5.312 kB / 323.5 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.008135, allocations: 11.89 kB / 323.5 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.008141, allocations: 1.562 kB / 323.5 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.268e-05/0.008214, allocations: 5.422 kB / 323.5 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.008236, allocations: 2.078 kB / 323.5 MB, free: 96 kB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001162/0.008352, allocations: 118.5 kB / 323.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.008502, allocations: 56 kB / 323.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.127e-05/0.008543, allocations: 13.06 kB / 323.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.008557, allocations: 7.531 kB / 323.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.008563, allocations: 1.438 kB / 323.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.008571, allocations: 6.078 kB / 323.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.008794, allocations: 125.3 kB / 323.8 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.008797, allocations: 0 / 323.8 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.806e-05/0.008865, allocations: 17.33 kB / 323.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.008867, allocations: 1.156 kB / 323.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.00888, allocations: 6.031 kB / 323.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.008883, allocations: 2.156 kB / 323.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.008884, allocations: 0 / 323.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.009214, allocations: 271.4 kB / 324.1 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.658e-05/0.00926, allocations: 21.69 kB / 324.1 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.009282, allocations: 4.453 kB / 324.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.009408, allocations: 13.75 kB / 324.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.009457, allocations: 3.344 kB / 324.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.009463, allocations: 2.453 kB / 324.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001019/0.009565, allocations: 118.9 kB / 324.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.009565, allocations: 0 / 324.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.009831, allocations: 12.06 kB / 324.3 MB, free: 15.43 MB / 302.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.0001076/0.009938, allocations: 99.77 kB / 324.4 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.01014, allocations: 40.44 kB / 324.4 MB, free: 15.33 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.01014, allocations: 0 / 324.4 MB, free: 15.33 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.785e-05/0.01022, allocations: 23.61 kB / 324.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.01065, allocations: 23.7 kB / 324.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004259/0.01108, allocations: 202.5 kB / 324.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.01119, allocations: 89.03 kB / 324.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.594e-05/0.01123, allocations: 6.953 kB / 324.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.018e-05/0.01127, allocations: 16.73 kB / 324.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.01127, allocations: 0 / 324.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of Templates: time 0.003812/0.01508, allocations: 0.7302 MB / 325.5 MB, free: 14.95 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.277616135776043]