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.001408/0.001408, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 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.001096/0.001096, allocations: 168.6 kB / 25 MB, free: 8.863 MB / 18.57 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.007/1.007, allocations: 177.1 MB / 205.3 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 273.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.886e-05, allocations: 2.312 kB / 273.1 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002102/0.002121, allocations: 1.673 MB / 274.7 MB, free: 148 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006858/0.002807, allocations: 0.5414 MB / 275.3 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.575e-05/0.002862, allocations: 7.938 kB / 275.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.722e-05/0.00292, allocations: 11.86 kB / 275.3 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.314e-05/0.002983, allocations: 11.88 kB / 275.3 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.003158, allocations: 67.72 kB / 275.4 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.88e-05/0.003237, allocations: 63.72 kB / 275.4 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.33e-05/0.003301, allocations: 12 kB / 275.5 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.463e-05/0.003385, allocations: 51.77 kB / 275.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.124e-05/0.003426, allocations: 27.91 kB / 275.5 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.003439, allocations: 4 kB / 275.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.511e-05/0.003464, allocations: 4 kB / 275.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.342e-05/0.003497, allocations: 27.91 kB / 275.6 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.003522, allocations: 15.94 kB / 275.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.927e-05/0.003621, allocations: 47.81 kB / 275.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.003623, allocations: 4 kB / 275.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.003624, allocations: 0 / 275.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.915e-06/0.003627, allocations: 3.938 kB / 275.6 MB, free: 15.24 MB / 266.7 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.0002972/0.003924, allocations: 424.1 kB / 276.1 MB, free: 14.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.407e-05/0.003948, allocations: 8.031 kB / 276.1 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.004067, allocations: 28.88 kB / 276.1 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.004197, allocations: 161 kB / 276.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.961e-06/0.004203, allocations: 4.375 kB / 276.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-06/0.004211, allocations: 4.375 kB / 276.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.004367, allocations: 129.3 kB / 276.4 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.709e-06/0.004372, allocations: 4.188 kB / 276.4 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.004379, allocations: 4.375 kB / 276.4 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/0.004401, allocations: 3.938 kB / 276.4 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.758e-05/0.004428, allocations: 15.92 kB / 276.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002451/0.004673, allocations: 414.3 kB / 276.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.028e-05/0.004733, allocations: 89.23 kB / 276.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.82e-05/0.004762, allocations: 27.12 kB / 276.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/0.004769, allocations: 0 / 276.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.00479, allocations: 49.27 kB / 277 MB, free: 13.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.11e-07/0.004791, allocations: 4 kB / 277 MB, free: 13.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001253/0.004916, allocations: 61.53 kB / 277 MB, free: 13.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.004955, allocations: 106.8 kB / 277.1 MB, free: 13.51 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.933e-05/0.005044, allocations: 203.9 kB / 277.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.317e-06/0.005053, allocations: 33.64 kB / 277.4 MB, free: 13.26 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.224e-05/0.005096, allocations: 138.9 kB / 277.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.157e-05/0.005107, allocations: 11.95 kB / 277.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-05/0.005131, allocations: 19.38 kB / 277.5 MB, free: 13.08 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.005232, allocations: 0.4888 MB / 278 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.084e-05/0.005243, allocations: 7.938 kB / 278 MB, free: 12.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.679e-05/0.00526, allocations: 19.38 kB / 278.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.976e-05/0.00529, allocations: 27.36 kB / 278.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.005291, allocations: 4 kB / 278.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.068e-05/0.005341, allocations: 53.52 kB / 278.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.948e-06/0.005351, allocations: 8 kB / 278.1 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-06/0.005354, allocations: 0 / 278.1 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.781e-06/0.00536, allocations: 4.125 kB / 278.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.012e-05/0.0054, allocations: 7.984 kB / 278.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.005403, allocations: 0 / 278.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.792e-05/0.00542, allocations: 4 kB / 278.2 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.005424, allocations: 0 / 278.2 MB, free: 12.42 MB / 266.7 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 8.694e-05/0.005511, allocations: 164.6 kB / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.286e-05/0.005584, allocations: 45.53 kB / 278.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.802e-05/0.005602, allocations: 11.97 kB / 278.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.005617, allocations: 7.984 kB / 278.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.005619, allocations: 0 / 278.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.005623, allocations: 8.031 kB / 278.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.005752, allocations: 140.5 kB / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.005754, allocations: 0 / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.936e-05/0.005793, allocations: 4 kB / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.005795, allocations: 4 kB / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.005801, allocations: 3.938 kB / 278.5 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.005802, allocations: 0 / 278.5 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.005803, allocations: 0 / 278.5 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.00594, allocations: 342.7 kB / 278.9 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.662e-05/0.005967, allocations: 11.94 kB / 278.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.005978, allocations: 11.94 kB / 278.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.349e-05/0.006032, allocations: 0 / 278.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.333e-05/0.006055, allocations: 8 kB / 278.9 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.006059, allocations: 3.984 kB / 278.9 MB, free: 11.6 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.625e-05/0.006115, allocations: 156.6 kB / 279.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006115, allocations: 0 / 279.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001599/0.006275, allocations: 8 kB / 279.1 MB, free: 11.44 MB / 266.7 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 5.77e-05/0.006333, allocations: 107.2 kB / 279.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.354e-05/0.006386, allocations: 19.62 kB / 279.2 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.006388, allocations: 4 kB / 279.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.696e-05/0.006405, allocations: 15.67 kB / 279.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.006654, allocations: 23.64 kB / 279.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003432/0.006997, allocations: 213.5 kB / 279.4 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.847e-05/0.007036, allocations: 63.34 kB / 279.5 MB, free: 10.92 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.766e-05/0.007063, allocations: 12.33 kB / 279.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.151e-05/0.007085, allocations: 16.5 kB / 279.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.007085, allocations: 0 / 279.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of Templates: time 0.002064/0.009149, allocations: 0.7351 MB / 280.3 MB, free: 10.18 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9769529739860445]