Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001485/0.001485, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001667/0.001667, allocations: 210.2 kB / 23.73 MB, free: 4.523 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.511/1.511, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.IntegerSignals.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.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001778, allocations: 43.92 kB / 378.2 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3139, allocations: 53.36 MB / 431.6 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003394/0.3173, allocations: 1.547 MB / 433.1 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004511/0.3177, allocations: 143.5 kB / 433.3 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.111e-05/0.3178, allocations: 3.938 kB / 433.3 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.3179, allocations: 3.938 kB / 433.3 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.87e-05/0.318, allocations: 19.86 kB / 433.3 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.3183, allocations: 43.47 kB / 433.3 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.3184, allocations: 39.91 kB / 433.4 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.3185, allocations: 11.98 kB / 433.4 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.059e-05/0.3186, allocations: 23.92 kB / 433.4 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.161e-05/0.3186, allocations: 19.86 kB / 433.4 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.3186, allocations: 4 kB / 433.4 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.013e-05/0.3186, allocations: 0 / 433.4 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.1e-05/0.3187, allocations: 19.94 kB / 433.4 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.991e-05/0.3187, allocations: 19.86 kB / 433.5 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.3189, allocations: 61.88 kB / 433.5 MB, free: 4.785 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3189, allocations: 0 / 433.5 MB, free: 4.785 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3189, allocations: 0 / 433.5 MB, free: 4.785 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.3189, allocations: 0 / 433.5 MB, free: 4.785 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.0004884/0.3194, allocations: 313.9 kB / 433.8 MB, free: 4.445 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.3194, allocations: 8.031 kB / 433.8 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.047e-05/0.3195, allocations: 12.89 kB / 433.8 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.3198, allocations: 140.4 kB / 434 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.3198, allocations: 4.375 kB / 434 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.3198, allocations: 4.375 kB / 434 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003091/0.3201, allocations: 122.4 kB / 434.1 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.3202, allocations: 8.125 kB / 434.1 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.3202, allocations: 3.938 kB / 434.1 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.691e-05/0.3202, allocations: 4 kB / 434.1 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.3203, allocations: 39.91 kB / 434.2 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/0.3208, allocations: 309.5 kB / 434.5 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.3209, allocations: 83.77 kB / 434.5 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.512e-05/0.321, allocations: 42.56 kB / 434.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.455e-06/0.321, allocations: 0 / 434.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.3211, allocations: 38.56 kB / 434.6 MB, free: 3.516 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3211, allocations: 0 / 434.6 MB, free: 3.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003716/0.3214, allocations: 117.4 kB / 434.7 MB, free: 3.395 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.163e-05/0.3215, allocations: 102.8 kB / 434.8 MB, free: 3.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.3217, allocations: 149.5 kB / 435 MB, free: 3.117 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.3217, allocations: 29.7 kB / 435 MB, free: 3.082 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.314e-05/0.3217, allocations: 88.14 kB / 435.1 MB, free: 2.992 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.3218, allocations: 7.938 kB / 435.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.3218, allocations: 17.72 kB / 435.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.3219, allocations: 318.8 kB / 435.4 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.584e-05/0.322, allocations: 15.92 kB / 435.5 MB, free: 2.625 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.506e-05/0.3221, allocations: 43.41 kB / 435.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.3222, allocations: 67.34 kB / 435.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3222, allocations: 0 / 435.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000185/0.3224, allocations: 85.44 kB / 435.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3224, allocations: 4 kB / 435.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.3224, allocations: 0 / 435.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.3224, allocations: 8.125 kB / 435.7 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.134e-05/0.3225, allocations: 11.98 kB / 435.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.3225, allocations: 7.984 kB / 435.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.964e-05/0.3226, allocations: 11.98 kB / 435.7 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.3226, allocations: 4 kB / 435.7 MB, free: 2.355 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: 4 (sample1.u[2],sample1.u[1],sample1.y[2],sample1.y[1]) * 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.0001183/0.3227, allocations: 121.8 kB / 435.8 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.3228, allocations: 53.52 kB / 435.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.154e-05/0.3229, allocations: 15.92 kB / 435.9 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/0.3229, allocations: 7.984 kB / 435.9 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3229, allocations: 4.031 kB / 435.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.3229, allocations: 4 kB / 435.9 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.3231, allocations: 117.3 kB / 436 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3231, allocations: 0 / 436 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.136e-05/0.3232, allocations: 11.92 kB / 436 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3232, allocations: 0 / 436 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.3232, allocations: 4 kB / 436 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.3232, allocations: 0 / 436 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3232, allocations: 0 / 436 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.3235, allocations: 271.5 kB / 436.3 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.3235, allocations: 19.88 kB / 436.3 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.3235, allocations: 7.938 kB / 436.3 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.96e-05/0.3236, allocations: 4 kB / 436.3 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.3237, allocations: 3.984 kB / 436.3 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.3237, allocations: 0 / 436.3 MB, free: 1.652 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.844e-05/0.3238, allocations: 111.2 kB / 436.4 MB, free: 1.543 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3238, allocations: 0 / 436.4 MB, free: 1.543 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.324, allocations: 4 kB / 436.4 MB, free: 1.539 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: 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.000144/0.3242, allocations: 103.2 kB / 436.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.3244, allocations: 48.05 kB / 436.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.3244, allocations: 3.938 kB / 436.6 MB, free: 1.379 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.761e-05/0.3245, allocations: 19.98 kB / 436.6 MB, free: 1.359 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.3249, allocations: 35.86 kB / 436.6 MB, free: 1.324 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004409/0.3254, allocations: 187.6 kB / 436.8 MB, free: 1.109 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.3255, allocations: 75.33 kB / 436.9 MB, free: 1.016 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.031e-05/0.3255, allocations: 7.984 kB / 436.9 MB, free: 1.008 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.458e-05/0.3256, allocations: 15.44 kB / 436.9 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3256, allocations: 0 / 436.9 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of Templates: time 0.003723/0.3293, allocations: 0.703 MB / 437.6 MB, free: 316 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.603718508966267]