Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002282/0.002282, allocations: 213.3 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.579/1.579, allocations: 230.6 MB / 258.2 MB, free: 7.785 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 43.92 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2355, allocations: 53.36 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002979/0.2385, allocations: 1.625 MB / 434 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.2395, allocations: 0.5259 MB / 434.5 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.917e-05/0.2396, allocations: 0 / 434.5 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.794e-05/0.2397, allocations: 7.875 kB / 434.5 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.2398, allocations: 19.84 kB / 434.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.24, allocations: 63.81 kB / 434.6 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.2402, allocations: 63.72 kB / 434.6 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.806e-05/0.2403, allocations: 19.97 kB / 434.7 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.2404, allocations: 35.84 kB / 434.7 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.676e-05/0.2405, allocations: 35.84 kB / 434.7 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.2405, allocations: 4 kB / 434.7 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.123e-05/0.2405, allocations: 11.94 kB / 434.7 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.788e-05/0.2406, allocations: 15.92 kB / 434.8 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.016e-05/0.2406, allocations: 27.8 kB / 434.8 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.2408, allocations: 82.33 kB / 434.9 MB, free: 4.188 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2408, allocations: 0 / 434.9 MB, free: 4.188 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2408, allocations: 0 / 434.9 MB, free: 4.188 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.2408, allocations: 0 / 434.9 MB, free: 4.188 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.0005179/0.2413, allocations: 317.8 kB / 435.2 MB, free: 3.848 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.2413, allocations: 16.03 kB / 435.2 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002423/0.2416, allocations: 28.86 kB / 435.2 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.2418, allocations: 154.2 kB / 435.4 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.2418, allocations: 384 / 435.4 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.2418, allocations: 12.31 kB / 435.4 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003079/0.2421, allocations: 130.2 kB / 435.5 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.2422, allocations: 4 kB / 435.5 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.2422, allocations: 0 / 435.5 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/0.2422, allocations: 7.938 kB / 435.5 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.2423, allocations: 39.91 kB / 435.6 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004476/0.2428, allocations: 313.6 kB / 435.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.2429, allocations: 87.72 kB / 435.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.035e-05/0.243, allocations: 42.61 kB / 436 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.243, allocations: 0 / 436 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.2431, allocations: 38.5 kB / 436 MB, free: 2.863 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.2431, allocations: 0 / 436 MB, free: 2.863 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003773/0.2434, allocations: 117.5 kB / 436.1 MB, free: 2.742 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.361e-05/0.2435, allocations: 106.8 kB / 436.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.2437, allocations: 154.6 kB / 436.4 MB, free: 2.453 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.2437, allocations: 29.7 kB / 436.4 MB, free: 2.418 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.775e-05/0.2438, allocations: 100.1 kB / 436.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.2438, allocations: 7.953 kB / 436.5 MB, free: 2.309 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.2438, allocations: 13.72 kB / 436.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.244, allocations: 322.8 kB / 436.9 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.555e-05/0.244, allocations: 15.98 kB / 436.9 MB, free: 1.949 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.23e-05/0.2441, allocations: 47.36 kB / 436.9 MB, free: 1.891 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.2443, allocations: 67.39 kB / 437 MB, free: 1.812 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.2443, allocations: 7.875 kB / 437 MB, free: 1.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002044/0.2445, allocations: 81.56 kB / 437.1 MB, free: 1.719 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.2445, allocations: 11.98 kB / 437.1 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2445, allocations: 4.125 kB / 437.1 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.2445, allocations: 4 kB / 437.1 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.2446, allocations: 12 kB / 437.1 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.2446, allocations: 3.984 kB / 437.1 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.078e-05/0.2447, allocations: 4 kB / 437.1 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.2447, allocations: 0 / 437.1 MB, free: 1.68 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.0001042/0.2448, allocations: 129.7 kB / 437.2 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.2449, allocations: 53.61 kB / 437.3 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.637e-05/0.2449, allocations: 19.91 kB / 437.3 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.245, allocations: 4 kB / 437.3 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.245, allocations: 7.969 kB / 437.3 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.245, allocations: 0 / 437.3 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.2452, allocations: 129.2 kB / 437.5 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2452, allocations: 0 / 437.5 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.781e-05/0.2452, allocations: 7.984 kB / 437.5 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2453, allocations: 4 kB / 437.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.2453, allocations: 0 / 437.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.2453, allocations: 0 / 437.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.2453, allocations: 4 kB / 437.5 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.2456, allocations: 283.5 kB / 437.7 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.636e-05/0.2456, allocations: 19.89 kB / 437.8 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.2456, allocations: 3.984 kB / 437.8 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.2458, allocations: 4 kB / 437.8 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.2458, allocations: 0 / 437.8 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.2458, allocations: 4 kB / 437.8 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.724e-05/0.2459, allocations: 124 kB / 437.9 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2459, allocations: 0 / 437.9 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002979/0.2462, allocations: 8 kB / 437.9 MB, free: 0.8203 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 9.764e-05/0.2463, allocations: 103.2 kB / 438 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.2465, allocations: 51.91 kB / 438.1 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2465, allocations: 0 / 438.1 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.647e-05/0.2466, allocations: 27.91 kB / 438.1 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.247, allocations: 30.47 kB / 438.1 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.2474, allocations: 209.5 kB / 438.3 MB, free: 380 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.89e-05/0.2475, allocations: 88.98 kB / 438.4 MB, free: 260 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.975e-05/0.2476, allocations: 8 kB / 438.4 MB, free: 252 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.114e-05/0.2476, allocations: 15.36 kB / 438.4 MB, free: 240 kB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2476, allocations: 0 / 438.4 MB, free: 240 kB / 334.1 MB Notification: Performance of Templates: time 0.003427/0.251, allocations: 0.8043 MB / 439.2 MB, free: 15.45 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.377570087992353]