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.00163/0.00163, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001788/0.001788, allocations: 209.8 kB / 24.49 MB, free: 4.137 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.513/1.513, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.001727/0.001727, allocations: 43.92 kB / 379 MB, free: 2.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3465, allocations: 53.37 MB / 432.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003426/0.3499, allocations: 1.633 MB / 434 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.351, allocations: 0.5726 MB / 434.6 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.3511, allocations: 4 kB / 434.6 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.3512, allocations: 11.86 kB / 434.6 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.3514, allocations: 19.84 kB / 434.6 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.3517, allocations: 59.81 kB / 434.7 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.3518, allocations: 63.78 kB / 434.8 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.3519, allocations: 15.98 kB / 434.8 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.3521, allocations: 43.84 kB / 434.8 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.478e-05/0.3522, allocations: 27.8 kB / 434.8 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.3522, allocations: 4 kB / 434.9 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.419e-05/0.3522, allocations: 7.938 kB / 434.9 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.161e-05/0.3523, allocations: 23.92 kB / 434.9 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.335e-05/0.3524, allocations: 35.72 kB / 434.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.3525, allocations: 76.88 kB / 435 MB, free: 4.324 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3525, allocations: 0 / 435 MB, free: 4.324 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.808e-06/0.3525, allocations: 3.984 kB / 435 MB, free: 4.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.3526, allocations: 4 kB / 435 MB, free: 4.316 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.0006169/0.3532, allocations: 321.8 kB / 435.3 MB, free: 3.973 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.3532, allocations: 12.03 kB / 435.3 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002506/0.3535, allocations: 28.88 kB / 435.4 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.3538, allocations: 154.2 kB / 435.5 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.3538, allocations: 4.312 kB / 435.5 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.3538, allocations: 8.375 kB / 435.5 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003522/0.3541, allocations: 126.2 kB / 435.6 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.3542, allocations: 4 kB / 435.6 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.3542, allocations: 0 / 435.6 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/0.3542, allocations: 0 / 435.6 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.3543, allocations: 43.95 kB / 435.7 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005466/0.3549, allocations: 352.9 kB / 436 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.3551, allocations: 83.78 kB / 436.1 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.923e-05/0.3551, allocations: 38.62 kB / 436.2 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.3552, allocations: 0 / 436.2 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.3552, allocations: 42.53 kB / 436.2 MB, free: 2.953 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3552, allocations: 3.938 kB / 436.2 MB, free: 2.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000401/0.3556, allocations: 121.4 kB / 436.3 MB, free: 2.824 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.576e-05/0.3557, allocations: 102.8 kB / 436.4 MB, free: 2.699 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.3559, allocations: 154.6 kB / 436.6 MB, free: 2.539 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.3559, allocations: 29.7 kB / 436.6 MB, free: 2.504 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.118e-05/0.356, allocations: 100.1 kB / 436.7 MB, free: 2.402 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.356, allocations: 7.953 kB / 436.7 MB, free: 2.395 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.356, allocations: 13.72 kB / 436.7 MB, free: 2.375 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.3562, allocations: 326.8 kB / 437 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.811e-05/0.3563, allocations: 15.98 kB / 437 MB, free: 2.031 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.178e-05/0.3563, allocations: 43.42 kB / 437.1 MB, free: 1.977 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.3565, allocations: 63.34 kB / 437.2 MB, free: 1.902 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3565, allocations: 0 / 437.2 MB, free: 1.902 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002022/0.3567, allocations: 97.48 kB / 437.2 MB, free: 1.801 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.3567, allocations: 7.938 kB / 437.3 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3567, allocations: 0 / 437.3 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.3568, allocations: 4 kB / 437.3 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.3569, allocations: 11.98 kB / 437.3 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.3569, allocations: 0 / 437.3 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.446e-05/0.3569, allocations: 7.984 kB / 437.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.3569, allocations: 4.125 kB / 437.3 MB, free: 1.766 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.0001159/0.3571, allocations: 121.8 kB / 437.4 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.3572, allocations: 61.53 kB / 437.5 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.738e-05/0.3572, allocations: 19.91 kB / 437.5 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.3572, allocations: 4 kB / 437.5 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3572, allocations: 0 / 437.5 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3572, allocations: 4 kB / 437.5 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.3575, allocations: 148.7 kB / 437.6 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3575, allocations: 4 kB / 437.6 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.157e-05/0.3575, allocations: 16.02 kB / 437.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3575, allocations: 0 / 437.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.3576, allocations: 8 kB / 437.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3576, allocations: 0 / 437.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3576, allocations: 0 / 437.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.3579, allocations: 275.5 kB / 437.9 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.3579, allocations: 15.94 kB / 437.9 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.3579, allocations: 7.938 kB / 438 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.3581, allocations: 7.984 kB / 438 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.3581, allocations: 0 / 438 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.3581, allocations: 4 kB / 438 MB, free: 1 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.843e-05/0.3582, allocations: 120.1 kB / 438.1 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3582, allocations: 0 / 438.1 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000285/0.3585, allocations: 8 kB / 438.1 MB, free: 0.875 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.0001243/0.3586, allocations: 107.2 kB / 438.2 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002105/0.3588, allocations: 55.84 kB / 438.3 MB, free: 0.707 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3588, allocations: 0 / 438.3 MB, free: 0.707 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.912e-05/0.3589, allocations: 19.92 kB / 438.3 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.3593, allocations: 32.47 kB / 438.3 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004728/0.3598, allocations: 233.9 kB / 438.5 MB, free: 404 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004151/0.3602, allocations: 0.7002 MB / 439.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.712e-05/0.3603, allocations: 15.44 kB / 439.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3603, allocations: 0 / 439.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of Templates: time 0.003106/0.3634, allocations: 0.9836 MB / 440.2 MB, free: 14.68 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 -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: 7.344367356970906]