Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.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.002461/0.002461, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.00241/0.00241, allocations: 165.6 kB / 24.27 MB, free: 156 kB / 18.57 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.544/1.544, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 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.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 272.3 MB, free: 1.863 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.093e-05/3.315e-05, allocations: 2.312 kB / 272.3 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002618/0.002652, allocations: 0.9229 MB / 273.2 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005536/0.003205, allocations: 147.5 kB / 273.4 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.268e-05/0.003298, allocations: 4 kB / 273.4 MB, free: 0.793 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.003437, allocations: 11.86 kB / 273.4 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.003585, allocations: 15.86 kB / 273.4 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.003834, allocations: 47.83 kB / 273.5 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.003997, allocations: 71.77 kB / 273.5 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.00414, allocations: 35.95 kB / 273.6 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.916e-05/0.004209, allocations: 31.91 kB / 273.6 MB, free: 0.582 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.00432, allocations: 31.89 kB / 273.6 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.004347, allocations: 4 kB / 273.6 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.714e-05/0.004364, allocations: 8 kB / 273.6 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.014e-05/0.004444, allocations: 27.92 kB / 273.7 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.367e-05/0.004508, allocations: 31.84 kB / 273.7 MB, free: 492 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.004745, allocations: 95.61 kB / 273.8 MB, free: 396 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.004748, allocations: 0 / 273.8 MB, free: 396 kB / 250.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.004751, allocations: 0 / 273.8 MB, free: 396 kB / 250.7 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.004758, allocations: 4 kB / 273.8 MB, free: 392 kB / 250.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.000759/0.005517, allocations: 447.7 kB / 274.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.005569, allocations: 15.97 kB / 274.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.043e-05/0.005639, allocations: 20.84 kB / 274.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.005932, allocations: 152.4 kB / 274.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.005956, allocations: 8.375 kB / 274.4 MB, free: 15.69 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.005976, allocations: 8.375 kB / 274.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004371/0.006413, allocations: 192.6 kB / 274.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.006424, allocations: 192 / 274.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.006437, allocations: 384 / 274.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.006444, allocations: 4.375 kB / 274.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.095e-05/0.006525, allocations: 23.92 kB / 274.6 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002062/0.006731, allocations: 140.6 kB / 274.8 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.007, allocations: 115.4 kB / 274.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.007124, allocations: 63.67 kB / 275 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.007139, allocations: 0 / 275 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.007178, allocations: 41.39 kB / 275 MB, free: 15.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 9.02e-07/0.007179, allocations: 0 / 275 MB, free: 15.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003304/0.007509, allocations: 137.7 kB / 275.1 MB, free: 14.9 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.914e-05/0.007588, allocations: 71.34 kB / 275.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005021/0.00809, allocations: 230.8 kB / 275.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.008114, allocations: 25.7 kB / 275.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.008232, allocations: 143.2 kB / 275.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.008251, allocations: 7.984 kB / 275.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-05/0.008309, allocations: 35.33 kB / 275.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002862/0.008595, allocations: 0.4962 MB / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.933e-05/0.008615, allocations: 4 kB / 276.1 MB, free: 13.83 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.721e-05/0.008652, allocations: 23.38 kB / 276.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.942e-05/0.008711, allocations: 35.3 kB / 276.2 MB, free: 13.76 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.008713, allocations: 0 / 276.2 MB, free: 13.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001013/0.008815, allocations: 57.66 kB / 276.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.008831, allocations: 4 kB / 276.2 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.008839, allocations: 4 kB / 276.3 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.008855, allocations: 8 kB / 276.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.643e-05/0.008922, allocations: 11.98 kB / 276.3 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.008928, allocations: 0 / 276.3 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.049e-05/0.008948, allocations: 3.938 kB / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.008962, allocations: 7.984 kB / 276.3 MB, free: 13.66 MB / 266.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 0.0001396/0.009101, allocations: 160.6 kB / 276.4 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.009277, allocations: 108.6 kB / 276.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.936e-05/0.009356, allocations: 25.09 kB / 276.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.009359, allocations: 0 / 276.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.009363, allocations: 0 / 276.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.00937, allocations: 11.94 kB / 276.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.009542, allocations: 148.5 kB / 276.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.009543, allocations: 0 / 276.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.009667, allocations: 31.92 kB / 276.8 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.009669, allocations: 0 / 276.8 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.009679, allocations: 4 kB / 276.8 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.009681, allocations: 0 / 276.8 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.009682, allocations: 0 / 276.8 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.009941, allocations: 164.1 kB / 276.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.152e-05/0.01001, allocations: 27.89 kB / 277 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.01003, allocations: 0 / 277 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.264e-05/0.01007, allocations: 8 kB / 277 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.377e-06/0.01007, allocations: 4 kB / 277 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-06/0.01008, allocations: 0 / 277 MB, free: 12.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001387/0.01022, allocations: 161.6 kB / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01022, allocations: 0 / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000185/0.0104, allocations: 12 kB / 277.1 MB, free: 12.74 MB / 266.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 0.0001507/0.01056, allocations: 111.8 kB / 277.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001657/0.01072, allocations: 59.55 kB / 277.3 MB, free: 12.56 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01072, allocations: 0 / 277.3 MB, free: 12.56 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.11e-07/0.01072, allocations: 0 / 277.3 MB, free: 12.56 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.01111, allocations: 71.81 kB / 277.4 MB, free: 12.49 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000452/0.01156, allocations: 233.4 kB / 277.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.01168, allocations: 104.8 kB / 277.7 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.136e-05/0.0117, allocations: 8.484 kB / 277.7 MB, free: 12.1 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.01174, allocations: 12.62 kB / 277.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01174, allocations: 4 kB / 277.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of Templates: time 0.004472/0.01621, allocations: 1.164 MB / 278.9 MB, free: 10.95 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.447359909885563]