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.0009608/0.0009608, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009705/0.0009705, allocations: 165 kB / 24.56 MB, free: 8 kB / 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 0.9303/0.9303, allocations: 177.1 MB / 205 MB, free: 5.613 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.693e-06/1.693e-06, allocations: 0 / 273 MB, free: 1.527 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.492e-05/1.661e-05, allocations: 2.312 kB / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.005382/0.005399, allocations: 1.673 MB / 274.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008318/0.006231, allocations: 0.5531 MB / 275.2 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.13e-05/0.006302, allocations: 3.938 kB / 275.2 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.611e-05/0.006398, allocations: 7.922 kB / 275.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.006508, allocations: 11.88 kB / 275.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.006769, allocations: 67.67 kB / 275.3 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.006881, allocations: 63.77 kB / 275.4 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.498e-05/0.006976, allocations: 16 kB / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.00709, allocations: 47.77 kB / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.502e-05/0.007145, allocations: 27.91 kB / 275.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.007163, allocations: 4 kB / 275.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.687e-05/0.0072, allocations: 4 kB / 275.5 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.931e-05/0.007249, allocations: 27.91 kB / 275.5 MB, free: 15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.201e-05/0.007281, allocations: 15.94 kB / 275.5 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003131/0.01041, allocations: 55.75 kB / 275.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.01041, allocations: 0 / 275.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.01042, allocations: 0 / 275.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.01042, allocations: 0 / 275.6 MB, free: 14.93 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.000418/0.01084, allocations: 428.1 kB / 276 MB, free: 14.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.01087, allocations: 12.03 kB / 276 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.01104, allocations: 24.88 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.01121, allocations: 157 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.01122, allocations: 4.375 kB / 276.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.01123, allocations: 4.375 kB / 276.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.01147, allocations: 129.3 kB / 276.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.01148, allocations: 4.188 kB / 276.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.01149, allocations: 4.375 kB / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.767e-05/0.01152, allocations: 3.938 kB / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.765e-05/0.01155, allocations: 19.86 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003279/0.01188, allocations: 414.3 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.934e-05/0.01196, allocations: 85.25 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.37e-05/0.012, allocations: 31.11 kB / 276.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.01201, allocations: 0 / 276.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.01203, allocations: 53.27 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.01203, allocations: 0 / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001878/0.01222, allocations: 65.53 kB / 277 MB, free: 13.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.01226, allocations: 102.8 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.01239, allocations: 207.9 kB / 277.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.0124, allocations: 25.7 kB / 277.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.325e-05/0.01245, allocations: 142.9 kB / 277.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.01247, allocations: 11.89 kB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.0125, allocations: 19.75 kB / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.01261, allocations: 0.4923 MB / 278 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.528e-05/0.01263, allocations: 4 kB / 278 MB, free: 12.26 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.046e-05/0.01265, allocations: 15.38 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.774e-05/0.01268, allocations: 27.38 kB / 278 MB, free: 12.2 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.01269, allocations: 3.984 kB / 278 MB, free: 12.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.845e-05/0.01275, allocations: 49.53 kB / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.01277, allocations: 8 kB / 278.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.01277, allocations: 0 / 278.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.01278, allocations: 4.125 kB / 278.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.78e-05/0.01284, allocations: 7.984 kB / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.01285, allocations: 7.984 kB / 278.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.675e-05/0.01287, allocations: 4 kB / 278.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.01288, allocations: 0 / 278.1 MB, free: 12.11 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 6.333e-05/0.01294, allocations: 160.6 kB / 278.2 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.227e-05/0.013, allocations: 49.53 kB / 278.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.204e-05/0.01303, allocations: 7.969 kB / 278.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.01304, allocations: 7.984 kB / 278.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.01304, allocations: 4.031 kB / 278.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.01305, allocations: 4 kB / 278.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003175/0.01622, allocations: 140.5 kB / 278.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.01623, allocations: 0 / 278.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.98e-05/0.01625, allocations: 4 kB / 278.5 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.01626, allocations: 7.938 kB / 278.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.01627, allocations: 7.938 kB / 278.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.01627, allocations: 0 / 278.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.01627, allocations: 4 kB / 278.5 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.01643, allocations: 338.7 kB / 278.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.75e-05/0.01645, allocations: 11.95 kB / 278.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.01647, allocations: 11.92 kB / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.3e-05/0.01655, allocations: 4 kB / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.01659, allocations: 4 kB / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.01659, allocations: 0 / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.585e-05/0.01666, allocations: 160.6 kB / 279 MB, free: 11.13 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01666, allocations: 0 / 279 MB, free: 11.13 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002552/0.01691, allocations: 8 kB / 279 MB, free: 11.12 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 6.91e-05/0.01698, allocations: 103.2 kB / 279.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.334e-05/0.01706, allocations: 23.62 kB / 279.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.01706, allocations: 0 / 279.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.266e-05/0.01709, allocations: 19.67 kB / 279.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.01747, allocations: 16.53 kB / 279.2 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004844/0.01795, allocations: 205.5 kB / 279.4 MB, free: 10.69 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.182e-05/0.018, allocations: 67.34 kB / 279.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.521e-05/0.01804, allocations: 12.33 kB / 279.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.01807, allocations: 12.5 kB / 279.5 MB, free: 10.58 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01807, allocations: 0 / 279.5 MB, free: 10.58 MB / 266.7 MB Notification: Performance of Templates: time 0.005618/0.02369, allocations: 0.7786 MB / 280.2 MB, free: 9.828 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.594077594112605]