Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001371/0.001371, allocations: 81.58 kB / 20.68 MB, free: 1.023 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.001419/0.001419, allocations: 147.2 kB / 23.94 MB, free: 4.16 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.46/1.46, allocations: 173.4 MB / 200.4 MB, free: 12.89 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.IntegerSignals.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.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 318.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.127e-05/2.337e-05, allocations: 2.281 kB / 318.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002213/0.002237, allocations: 1.524 MB / 320.4 MB, free: 2.535 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003508/0.002588, allocations: 151.2 kB / 320.6 MB, free: 2.438 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.837e-05/0.002656, allocations: 5.031 kB / 320.6 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.28e-05/0.002739, allocations: 10.05 kB / 320.6 MB, free: 2.426 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.625e-05/0.002825, allocations: 12.17 kB / 320.6 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.003023, allocations: 37.23 kB / 320.7 MB, free: 2.398 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.003133, allocations: 41.42 kB / 320.7 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.521e-05/0.003228, allocations: 15.11 kB / 320.7 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.075e-05/0.003289, allocations: 20.62 kB / 320.7 MB, free: 2.363 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.288e-05/0.003332, allocations: 16.98 kB / 320.7 MB, free: 2.355 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.926e-05/0.003361, allocations: 2.625 kB / 320.8 MB, free: 2.355 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.145e-05/0.003372, allocations: 7.438 kB / 320.8 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.006e-05/0.003422, allocations: 15.8 kB / 320.8 MB, free: 2.344 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.092e-05/0.003453, allocations: 14.09 kB / 320.8 MB, free: 2.336 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.003564, allocations: 55.08 kB / 320.8 MB, free: 2.312 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.003565, allocations: 3.938 kB / 320.8 MB, free: 2.309 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003566, allocations: 0 / 320.8 MB, free: 2.309 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.003575, allocations: 0 / 320.8 MB, free: 2.309 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.000365/0.00394, allocations: 311.3 kB / 321.1 MB, free: 2.008 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.003973, allocations: 10.83 kB / 321.2 MB, free: 2.008 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.004005, allocations: 16.28 kB / 321.2 MB, free: 1.996 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.004179, allocations: 144.5 kB / 321.3 MB, free: 1.852 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.004191, allocations: 6.594 kB / 321.3 MB, free: 1.848 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.004203, allocations: 1.781 kB / 321.3 MB, free: 1.848 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.004461, allocations: 118.9 kB / 321.4 MB, free: 1.762 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.00447, allocations: 192 / 321.4 MB, free: 1.762 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.004479, allocations: 1.719 kB / 321.4 MB, free: 1.762 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/0.004501, allocations: 8.516 kB / 321.5 MB, free: 1.758 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.004621, allocations: 48.22 kB / 321.5 MB, free: 1.738 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002975/0.004918, allocations: 303.1 kB / 321.8 MB, free: 1.441 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.00504, allocations: 78.77 kB / 321.9 MB, free: 1.363 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.296e-05/0.005113, allocations: 41 kB / 321.9 MB, free: 1.332 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.005126, allocations: 1.156 kB / 321.9 MB, free: 1.332 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.341e-05/0.00514, allocations: 32.91 kB / 321.9 MB, free: 1.293 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.005141, allocations: 5.25 kB / 322 MB, free: 1.289 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003339/0.005475, allocations: 115.5 kB / 322.1 MB, free: 1.23 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.005512, allocations: 108.9 kB / 322.2 MB, free: 1.102 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.891e-05/0.005611, allocations: 144 kB / 322.3 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.404e-06/0.005618, allocations: 25.7 kB / 322.3 MB, free: 0.957 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.158e-05/0.00565, allocations: 92.53 kB / 322.4 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.033e-05/0.00566, allocations: 1.359 kB / 322.4 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.00569, allocations: 27.72 kB / 322.5 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.583e-05/0.005736, allocations: 318.6 kB / 322.8 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.944e-05/0.005796, allocations: 10.62 kB / 322.8 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.705e-05/0.005853, allocations: 27.36 kB / 322.8 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.005959, allocations: 38.86 kB / 322.8 MB, free: 496 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.005961, allocations: 0.7031 kB / 322.8 MB, free: 496 kB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001411/0.006102, allocations: 69.5 kB / 322.9 MB, free: 452 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.006115, allocations: 9.594 kB / 322.9 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.006119, allocations: 0 / 322.9 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.006133, allocations: 1.062 kB / 322.9 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.307e-05/0.006206, allocations: 11.98 kB / 322.9 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.006211, allocations: 1.312 kB / 322.9 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.741e-05/0.006249, allocations: 4.078 kB / 322.9 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.006255, allocations: 1.984 kB / 322.9 MB, free: 444 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: 2 (sample1.u[2],sample1.u[1]) * 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 5.968e-05/0.006315, allocations: 127.7 kB / 323.1 MB, free: 316 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.189e-05/0.006397, allocations: 51.48 kB / 323.1 MB, free: 276 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.627e-05/0.006423, allocations: 12.28 kB / 323.1 MB, free: 264 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.006438, allocations: 12.3 kB / 323.1 MB, free: 256 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.006443, allocations: 1.25 kB / 323.1 MB, free: 256 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.006446, allocations: 0.75 kB / 323.1 MB, free: 256 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.00661, allocations: 119.8 kB / 323.3 MB, free: 124 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.006613, allocations: 1.188 kB / 323.3 MB, free: 124 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.521e-05/0.006658, allocations: 7.656 kB / 323.3 MB, free: 124 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.00666, allocations: 5.188 kB / 323.3 MB, free: 120 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.006668, allocations: 1.938 kB / 323.3 MB, free: 120 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.006671, allocations: 5.25 kB / 323.3 MB, free: 116 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.006672, allocations: 0 / 323.3 MB, free: 116 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.006967, allocations: 266.3 kB / 323.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-05/0.007006, allocations: 13.09 kB / 323.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.007021, allocations: 2.109 kB / 323.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.007131, allocations: 13.95 kB / 323.6 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.007169, allocations: 10.3 kB / 323.6 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.007174, allocations: 3.188 kB / 323.6 MB, free: 15.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.088e-05/0.007255, allocations: 110.9 kB / 323.7 MB, free: 15.78 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.007255, allocations: 0 / 323.7 MB, free: 15.78 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.007518, allocations: 4.75 kB / 323.7 MB, free: 15.78 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: 4 (sample1.u[2],sample1.u[1],sample1.y[1],sample1.y[2]) * 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.0001185/0.007636, allocations: 107.3 kB / 323.8 MB, free: 15.69 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.007858, allocations: 43.8 kB / 323.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.007859, allocations: 5.281 kB / 323.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.546e-05/0.007925, allocations: 17.58 kB / 323.9 MB, free: 15.67 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.008336, allocations: 25.45 kB / 323.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003456/0.008681, allocations: 180.6 kB / 324.1 MB, free: 15.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.465e-05/0.008776, allocations: 75.55 kB / 324.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.252e-05/0.008808, allocations: 6.875 kB / 324.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.008839, allocations: 11.97 kB / 324.2 MB, free: 15.42 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.00884, allocations: 4 kB / 324.2 MB, free: 15.42 MB / 302.1 MB Notification: Performance of Templates: time 0.003653/0.01249, allocations: 0.6624 MB / 324.8 MB, free: 15.32 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.176204930990934]