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.001481/0.001481, allocations: 120.8 kB / 18.46 MB, free: 4.473 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.001533/0.001533, allocations: 190.9 kB / 21.4 MB, free: 1.535 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.393/1.393, allocations: 225.6 MB / 249.8 MB, free: 3.609 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.00152/0.00152, allocations: 51.92 kB / 366.8 MB, free: 348 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1029, allocations: 52.14 MB / 419 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002712/0.1056, allocations: 0.903 MB / 419.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004771/0.1061, allocations: 159.4 kB / 420 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.651e-05/0.1062, allocations: 0 / 420 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.1063, allocations: 15.86 kB / 420 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.1064, allocations: 7.875 kB / 420 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.1067, allocations: 55.88 kB / 420.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.1068, allocations: 59.84 kB / 420.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.107, allocations: 31.97 kB / 420.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.374e-05/0.107, allocations: 35.8 kB / 420.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.948e-05/0.1071, allocations: 47.77 kB / 420.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.1071, allocations: 4 kB / 420.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.627e-05/0.1071, allocations: 4 kB / 420.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.148e-05/0.1072, allocations: 31.86 kB / 420.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.155e-05/0.1073, allocations: 43.67 kB / 420.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.1075, allocations: 95.52 kB / 420.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1075, allocations: 0 / 420.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1075, allocations: 0 / 420.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1075, allocations: 0 / 420.4 MB, free: 10.62 MB / 350.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.0006863/0.1082, allocations: 425.2 kB / 420.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.1082, allocations: 12.03 kB / 420.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.69e-05/0.1083, allocations: 16.84 kB / 420.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.1085, allocations: 208.1 kB / 421.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.1085, allocations: 8.375 kB / 421.1 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.1086, allocations: 12.38 kB / 421.1 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004512/0.109, allocations: 235.6 kB / 421.3 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.109, allocations: 192 / 421.3 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.109, allocations: 3.938 kB / 421.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.1091, allocations: 0 / 421.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.608e-05/0.1091, allocations: 51.97 kB / 421.4 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000212/0.1094, allocations: 189.5 kB / 421.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.1096, allocations: 146.9 kB / 421.7 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.1098, allocations: 79.2 kB / 421.8 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.1098, allocations: 7.984 kB / 421.8 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.1098, allocations: 34.5 kB / 421.8 MB, free: 9.051 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.1098, allocations: 0 / 421.8 MB, free: 9.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003401/0.1102, allocations: 177.7 kB / 422 MB, free: 8.871 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.611e-05/0.1102, allocations: 67.41 kB / 422.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.1104, allocations: 159.2 kB / 422.2 MB, free: 8.629 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.1104, allocations: 29.7 kB / 422.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.054e-05/0.1105, allocations: 92.47 kB / 422.3 MB, free: 8.496 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.1105, allocations: 11.98 kB / 422.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.219e-05/0.1106, allocations: 41.66 kB / 422.4 MB, free: 8.438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1107, allocations: 318.8 kB / 422.7 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.384e-05/0.1108, allocations: 23.98 kB / 422.7 MB, free: 8.094 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.1109, allocations: 121.7 kB / 422.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.1111, allocations: 149.5 kB / 423 MB, free: 7.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1111, allocations: 4 kB / 423 MB, free: 7.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002513/0.1113, allocations: 165.2 kB / 423.2 MB, free: 7.559 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.1114, allocations: 8 kB / 423.2 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.1114, allocations: 8.438 kB / 423.2 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.1114, allocations: 11.94 kB / 423.2 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.1115, allocations: 39.92 kB / 423.2 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.1115, allocations: 4 kB / 423.2 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.07e-05/0.1116, allocations: 15.89 kB / 423.2 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.1116, allocations: 8 kB / 423.3 MB, free: 7.465 MB / 350.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.0001454/0.1117, allocations: 149.7 kB / 423.4 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000197/0.1119, allocations: 140.7 kB / 423.5 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.178e-05/0.112, allocations: 25.12 kB / 423.6 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.112, allocations: 0 / 423.6 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.112, allocations: 4 kB / 423.6 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.112, allocations: 0 / 423.6 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.1122, allocations: 189.6 kB / 423.8 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.1122, allocations: 4 kB / 423.8 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.1123, allocations: 27.92 kB / 423.8 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1123, allocations: 0 / 423.8 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.1123, allocations: 7.938 kB / 423.8 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1123, allocations: 0 / 423.8 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1123, allocations: 0 / 423.8 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.1125, allocations: 168.9 kB / 424 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.953e-05/0.1126, allocations: 108.9 kB / 424.1 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.1126, allocations: 7.938 kB / 424.1 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.973e-05/0.1127, allocations: 7.938 kB / 424.1 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-06/0.1127, allocations: 0 / 424.1 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.1127, allocations: 8 kB / 424.1 MB, free: 6.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.914e-05/0.1128, allocations: 114.5 kB / 424.2 MB, free: 6.422 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1128, allocations: 7.938 kB / 424.2 MB, free: 6.414 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.113, allocations: 16 kB / 424.2 MB, free: 6.398 MB / 350.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.000128/0.1131, allocations: 116.4 kB / 424.3 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.1133, allocations: 100.7 kB / 424.4 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1133, allocations: 4.062 kB / 424.4 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.51e-07/0.1133, allocations: 0 / 424.4 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.1137, allocations: 89.75 kB / 424.5 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004582/0.1142, allocations: 287.7 kB / 424.8 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.1145, allocations: 0.72 MB / 425.5 MB, free: 5.031 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.509e-05/0.1146, allocations: 15.44 kB / 425.5 MB, free: 5.016 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1146, allocations: 0 / 425.5 MB, free: 5.016 MB / 350.1 MB Notification: Performance of Templates: time 0.003148/0.1177, allocations: 1.383 MB / 426.9 MB, free: 3.645 MB / 350.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 -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 6.4857248610351235]