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.001328/0.001328, allocations: 76.05 kB / 21.24 MB, free: 400 kB / 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.001347/0.001347, allocations: 156.9 kB / 24.48 MB, free: 3.465 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.417/1.417, allocations: 173.4 MB / 201.1 MB, free: 12.71 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.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",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.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 46.88 kB / 319.4 MB, free: 3.289 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09542/0.09703, allocations: 52.16 MB / 371.6 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.00279/0.09982, allocations: 0.9236 MB / 372.5 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004363/0.1003, allocations: 139.6 kB / 372.6 MB, free: 6.305 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.942e-05/0.1003, allocations: 7.938 kB / 372.6 MB, free: 6.297 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.1004, allocations: 11.86 kB / 372.6 MB, free: 6.285 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.1006, allocations: 7.938 kB / 372.6 MB, free: 6.277 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.1008, allocations: 51.88 kB / 372.7 MB, free: 6.227 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.1009, allocations: 67.72 kB / 372.8 MB, free: 6.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.101, allocations: 31.97 kB / 372.8 MB, free: 6.129 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.262e-05/0.1011, allocations: 23.92 kB / 372.8 MB, free: 6.105 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.1012, allocations: 39.77 kB / 372.9 MB, free: 6.066 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.1012, allocations: 12 kB / 372.9 MB, free: 6.055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.571e-05/0.1012, allocations: 4 kB / 372.9 MB, free: 6.051 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.57e-05/0.1013, allocations: 31.91 kB / 372.9 MB, free: 6.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.047e-05/0.1014, allocations: 39.67 kB / 372.9 MB, free: 5.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.1015, allocations: 99.45 kB / 373 MB, free: 5.883 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1015, allocations: 0 / 373 MB, free: 5.883 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1015, allocations: 0 / 373 MB, free: 5.883 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1015, allocations: 0 / 373 MB, free: 5.883 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000507/0.1021, allocations: 337.8 kB / 373.4 MB, free: 5.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.1021, allocations: 8.922 kB / 373.4 MB, free: 5.512 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.1021, allocations: 16.84 kB / 373.4 MB, free: 5.496 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.1024, allocations: 166.2 kB / 373.6 MB, free: 5.309 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.1024, allocations: 8.375 kB / 373.6 MB, free: 5.301 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.1024, allocations: 4.375 kB / 373.6 MB, free: 5.297 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004455/0.1029, allocations: 230.8 kB / 373.8 MB, free: 5.062 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.1029, allocations: 4.188 kB / 373.8 MB, free: 5.059 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.1029, allocations: 3.938 kB / 373.8 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.1029, allocations: 4 kB / 373.8 MB, free: 5.051 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.623e-05/0.103, allocations: 51.89 kB / 373.9 MB, free: 5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001576/0.1031, allocations: 125.3 kB / 374 MB, free: 4.848 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.1034, allocations: 142.6 kB / 374.1 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.1035, allocations: 81.09 kB / 374.2 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.1035, allocations: 4 kB / 374.2 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.1036, allocations: 34.5 kB / 374.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.1036, allocations: 0 / 374.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.000322/0.1039, allocations: 189.4 kB / 374.4 MB, free: 4.383 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.796e-05/0.104, allocations: 59.41 kB / 374.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.1041, allocations: 164.9 kB / 374.6 MB, free: 4.145 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.1041, allocations: 29.7 kB / 374.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.228e-05/0.1042, allocations: 92.47 kB / 374.8 MB, free: 4.012 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.1042, allocations: 15.92 kB / 374.8 MB, free: 3.996 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.171e-05/0.1043, allocations: 37.66 kB / 374.8 MB, free: 3.953 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1044, allocations: 326.8 kB / 375.1 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.895e-05/0.1045, allocations: 23.98 kB / 375.2 MB, free: 3.602 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.1046, allocations: 121.7 kB / 375.3 MB, free: 3.434 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.1048, allocations: 157.5 kB / 375.4 MB, free: 3.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1048, allocations: 0 / 375.4 MB, free: 3.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002454/0.105, allocations: 157.7 kB / 375.6 MB, free: 3.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1051, allocations: 8 kB / 375.6 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1051, allocations: 4 kB / 375.6 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.1051, allocations: 7.938 kB / 375.6 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.1052, allocations: 31.92 kB / 375.6 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.1052, allocations: 7.938 kB / 375.6 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.083e-05/0.1053, allocations: 19.89 kB / 375.7 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.1053, allocations: 8 kB / 375.7 MB, free: 2.984 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,unitDelay1.y,$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 (18): * Single equations (assignments): 18 * 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.0001326/0.1054, allocations: 153.8 kB / 375.8 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/0.1056, allocations: 133.6 kB / 375.9 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.687e-05/0.1056, allocations: 21.11 kB / 376 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1056, allocations: 3.938 kB / 376 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1057, allocations: 4 kB / 376 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1057, allocations: 0 / 376 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.1058, allocations: 125.2 kB / 376.1 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1058, allocations: 0 / 376.1 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.1059, allocations: 31.92 kB / 376.1 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1059, allocations: 4 kB / 376.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.1059, allocations: 0 / 376.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1059, allocations: 4 kB / 376.1 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1059, allocations: 7.875 kB / 376.1 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.1061, allocations: 172.4 kB / 376.3 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.81e-05/0.1062, allocations: 27.83 kB / 376.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.1062, allocations: 8 kB / 376.4 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.998e-05/0.1062, allocations: 0 / 376.4 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-06/0.1062, allocations: 3.938 kB / 376.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.1062, allocations: 8 kB / 376.4 MB, free: 2.227 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.597e-05/0.1063, allocations: 113.9 kB / 376.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1063, allocations: 0 / 376.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002374/0.1066, allocations: 20 kB / 376.5 MB, free: 2.098 MB / 334.1 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 0.0001093/0.1067, allocations: 119.1 kB / 376.6 MB, free: 1.973 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.1069, allocations: 95.83 kB / 376.7 MB, free: 1.879 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1069, allocations: 1 kB / 376.7 MB, free: 1.879 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.21e-07/0.1069, allocations: 0 / 376.7 MB, free: 1.879 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.1073, allocations: 98.52 kB / 376.8 MB, free: 1.785 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004187/0.1077, allocations: 262 kB / 377.1 MB, free: 1.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.1078, allocations: 101.3 kB / 377.2 MB, free: 1.379 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.212e-05/0.1078, allocations: 9.141 kB / 377.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.1078, allocations: 16.5 kB / 377.2 MB, free: 1.352 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1078, allocations: 4 kB / 377.2 MB, free: 1.348 MB / 334.1 MB Notification: Performance of Templates: time 0.003971/0.1118, allocations: 1.295 MB / 378.5 MB, free: 84 kB / 334.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.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.102638888987713]