Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.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.0009262/0.0009262, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001126/0.002052, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0007295/0.0007295, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009728/0.001702, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.8255/0.8255, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1652/0.9907, allocations: 52.48 MB / 238.5 MB, free: 7.648 MB / 234.7 MB " [Timeout remaining time 179] 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.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 239.7 MB, free: 6.387 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124e-05/1.235e-05, allocations: 2.312 kB / 239.7 MB, free: 6.383 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.00138/0.001393, allocations: 0.9779 MB / 240.7 MB, free: 5.422 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001925/0.001585, allocations: 156.1 kB / 240.9 MB, free: 5.27 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.826e-05/0.001644, allocations: 0 / 240.9 MB, free: 5.27 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.734e-05/0.001691, allocations: 12.52 kB / 240.9 MB, free: 5.258 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 5.837e-05/0.001749, allocations: 23.8 kB / 240.9 MB, free: 5.234 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001343/0.001884, allocations: 46.42 kB / 240.9 MB, free: 5.191 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 9.309e-05/0.001977, allocations: 59.78 kB / 241 MB, free: 5.133 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.38e-05/0.00206, allocations: 31.97 kB / 241 MB, free: 5.102 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.544e-05/0.002116, allocations: 43.88 kB / 241.1 MB, free: 5.059 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.002183, allocations: 31.91 kB / 241.1 MB, free: 5.027 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.002204, allocations: 8 kB / 241.1 MB, free: 5.02 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.177e-05/0.002216, allocations: 4 kB / 241.1 MB, free: 5.016 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.689e-05/0.002253, allocations: 29.33 kB / 241.2 MB, free: 4.988 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.603e-05/0.002279, allocations: 19.94 kB / 241.2 MB, free: 4.969 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 9.591e-05/0.002375, allocations: 67.64 kB / 241.2 MB, free: 4.902 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.388e-06/0.002384, allocations: 0 / 241.2 MB, free: 4.902 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.002385, allocations: 0.8125 kB / 241.2 MB, free: 4.902 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.002394, allocations: 0 / 241.2 MB, free: 4.902 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002992/0.002693, allocations: 333.1 kB / 241.6 MB, free: 4.551 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.684e-05/0.00272, allocations: 12.03 kB / 241.6 MB, free: 4.539 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/0.002748, allocations: 12.94 kB / 241.6 MB, free: 4.527 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.002883, allocations: 152.7 kB / 241.7 MB, free: 4.355 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.002892, allocations: 8.375 kB / 241.7 MB, free: 4.348 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.002904, allocations: 12.38 kB / 241.8 MB, free: 4.336 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.003078, allocations: 162.5 kB / 241.9 MB, free: 4.168 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.8e-06/0.003084, allocations: 192 / 241.9 MB, free: 4.168 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.003091, allocations: 5.438 kB / 241.9 MB, free: 4.164 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.003094, allocations: 4.375 kB / 241.9 MB, free: 4.16 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.405e-05/0.003119, allocations: 26.69 kB / 242 MB, free: 4.133 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.456e-05/0.003173, allocations: 70.88 kB / 242 MB, free: 4.051 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.003278, allocations: 80.05 kB / 242.1 MB, free: 3.961 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.936e-05/0.003317, allocations: 48.12 kB / 242.1 MB, free: 3.914 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.635e-06/0.003325, allocations: 4 kB / 242.1 MB, free: 3.91 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.003342, allocations: 38.84 kB / 242.2 MB, free: 3.863 MB / 234.7 MB Notification: Performance of pre-optimization done (n=16): time 6.41e-07/0.003342, allocations: 0 / 242.2 MB, free: 3.863 MB / 234.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001087/0.003451, allocations: 81.61 kB / 242.3 MB, free: 3.777 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.003491, allocations: 72.36 kB / 242.3 MB, free: 3.695 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.669e-05/0.003558, allocations: 148 kB / 242.5 MB, free: 3.539 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.003568, allocations: 34.61 kB / 242.5 MB, free: 3.5 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.055e-05/0.003588, allocations: 84.45 kB / 242.6 MB, free: 3.41 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.028e-05/0.003599, allocations: 7.953 kB / 242.6 MB, free: 3.402 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/0.003621, allocations: 23.47 kB / 242.6 MB, free: 3.375 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.205e-05/0.003683, allocations: 326.7 kB / 242.9 MB, free: 3.047 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.601e-06/0.003689, allocations: 7.984 kB / 243 MB, free: 3.039 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.183e-05/0.003701, allocations: 13.72 kB / 243 MB, free: 3.02 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.896e-05/0.00372, allocations: 18.38 kB / 243 MB, free: 2.996 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.003721, allocations: 0.6875 kB / 243 MB, free: 2.996 MB / 234.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.61e-05/0.003757, allocations: 51.53 kB / 243 MB, free: 2.941 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.003772, allocations: 8 kB / 243 MB, free: 2.934 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.003776, allocations: 0 / 243 MB, free: 2.934 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.684e-06/0.003783, allocations: 0 / 243 MB, free: 2.934 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.609e-05/0.003819, allocations: 11.98 kB / 243.1 MB, free: 2.922 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.003823, allocations: 1.469 kB / 243.1 MB, free: 2.922 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.009e-05/0.003833, allocations: 0 / 243.1 MB, free: 2.922 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.003838, allocations: 7.984 kB / 243.1 MB, free: 2.914 MB / 234.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: 4 ($CLKPRE.unitDelay2.u,unitDelay2.u,$CLKPRE.unitDelay1.u,unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * 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 5.145e-05/0.003889, allocations: 117.2 kB / 243.2 MB, free: 2.789 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.244e-05/0.003942, allocations: 78.23 kB / 243.3 MB, free: 2.707 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.493e-05/0.003977, allocations: 29.09 kB / 243.3 MB, free: 2.676 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.003978, allocations: 0.5312 kB / 243.3 MB, free: 2.676 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.00398, allocations: 1.688 kB / 243.3 MB, free: 2.676 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.003982, allocations: 0 / 243.3 MB, free: 2.676 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.639e-05/0.004028, allocations: 85.77 kB / 243.4 MB, free: 2.574 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.004029, allocations: 0 / 243.4 MB, free: 2.574 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.126e-05/0.00409, allocations: 31.98 kB / 243.4 MB, free: 2.543 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.437e-05/0.004125, allocations: 32.97 kB / 243.4 MB, free: 2.512 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.004125, allocations: 0 / 243.4 MB, free: 2.512 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.004131, allocations: 4 kB / 243.4 MB, free: 2.508 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.004132, allocations: 4.438 kB / 243.4 MB, free: 2.504 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.004133, allocations: 0 / 243.4 MB, free: 2.504 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.355e-05/0.004166, allocations: 64.7 kB / 243.5 MB, free: 2.422 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.004181, allocations: 0 / 243.5 MB, free: 2.422 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.277e-05/0.004194, allocations: 9.656 kB / 243.5 MB, free: 2.414 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.294e-06/0.004196, allocations: 0 / 243.5 MB, free: 2.414 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.004201, allocations: 4 kB / 243.5 MB, free: 2.41 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.49e-05/0.004226, allocations: 40.06 kB / 243.6 MB, free: 2.371 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004226, allocations: 4 kB / 243.6 MB, free: 2.367 MB / 234.7 MB Notification: Performance of remove unused functions: time 9.285e-05/0.004319, allocations: 16 kB / 243.6 MB, free: 2.352 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (unitDelay1.u,unitDelay1.y,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.y) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 6.951e-05/0.004388, allocations: 90.47 kB / 243.7 MB, free: 2.258 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 6.321e-05/0.004452, allocations: 32.84 kB / 243.7 MB, free: 2.223 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.004455, allocations: 0 / 243.7 MB, free: 2.223 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.004455, allocations: 0 / 243.7 MB, free: 2.223 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.004654, allocations: 219.2 kB / 243.9 MB, free: 1.977 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000226/0.00488, allocations: 244.8 kB / 244.2 MB, free: 1.711 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.267e-05/0.004912, allocations: 79.31 kB / 244.2 MB, free: 1.613 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 1.169e-05/0.004924, allocations: 8.438 kB / 244.2 MB, free: 1.605 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.09e-05/0.004975, allocations: 59.38 kB / 244.3 MB, free: 1.547 MB / 234.7 MB Notification: Performance of SimCode: time 4.31e-07/0.004975, allocations: 0 / 244.3 MB, free: 1.547 MB / 234.7 MB Notification: Performance of Templates: time 0.002344/0.007319, allocations: 1.264 MB / 245.6 MB, free: 332 kB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.447393904440105]