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.001518/0.001518, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001602/0.001602, allocations: 169.3 kB / 24.27 MB, free: 144 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.526/1.526, allocations: 177.1 MB / 204.6 MB, free: 5.598 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 6.923e-06/6.923e-06, allocations: 3.984 kB / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.54e-05/4.232e-05, allocations: 2.312 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.003229/0.003272, allocations: 0.9066 MB / 273.2 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005459/0.003818, allocations: 147.5 kB / 273.4 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.003918, allocations: 7.938 kB / 273.4 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.00405, allocations: 11.86 kB / 273.4 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001378/0.004188, allocations: 15.86 kB / 273.4 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.004454, allocations: 47.83 kB / 273.5 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.004625, allocations: 71.75 kB / 273.5 MB, free: 0.625 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.004777, allocations: 23.97 kB / 273.5 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002982/0.005075, allocations: 43.89 kB / 273.6 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.00518, allocations: 27.91 kB / 273.6 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.722e-05/0.005207, allocations: 4 kB / 273.6 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.147e-05/0.005229, allocations: 12 kB / 273.6 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.574e-05/0.005304, allocations: 27.91 kB / 273.7 MB, free: 500 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.397e-05/0.005378, allocations: 27.86 kB / 273.7 MB, free: 472 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.005606, allocations: 99.61 kB / 273.8 MB, free: 372 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.005609, allocations: 0 / 273.8 MB, free: 372 kB / 250.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.005609, allocations: 0 / 273.8 MB, free: 372 kB / 250.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.005614, allocations: 0 / 273.8 MB, free: 372 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.0007777/0.006392, allocations: 333.8 kB / 274.1 MB, free: 4 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.734e-05/0.006459, allocations: 19.95 kB / 274.1 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.185e-05/0.006541, allocations: 20.84 kB / 274.1 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.006855, allocations: 153.5 kB / 274.3 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.006878, allocations: 12.36 kB / 274.3 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.006901, allocations: 8.375 kB / 274.3 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006111/0.007512, allocations: 226.8 kB / 274.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.007522, allocations: 192 / 274.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.007544, allocations: 8.375 kB / 274.5 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.007551, allocations: 4.375 kB / 274.6 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.007698, allocations: 51.84 kB / 274.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001988/0.007897, allocations: 121.3 kB / 274.7 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003711/0.008268, allocations: 146.9 kB / 274.9 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.008456, allocations: 72.83 kB / 274.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.008476, allocations: 4 kB / 274.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.963e-05/0.008536, allocations: 38.55 kB / 275 MB, free: 15.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.008537, allocations: 4 kB / 275 MB, free: 15.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004997/0.009037, allocations: 181.6 kB / 275.2 MB, free: 14.87 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.009139, allocations: 71.28 kB / 275.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.009374, allocations: 168.6 kB / 275.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.009406, allocations: 29.7 kB / 275.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.951e-05/0.009505, allocations: 92.47 kB / 275.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.358e-05/0.009519, allocations: 0 / 275.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.803e-05/0.009577, allocations: 29.66 kB / 275.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002169/0.009794, allocations: 318.8 kB / 275.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.987e-05/0.009813, allocations: 4 kB / 275.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.56e-05/0.009849, allocations: 17.72 kB / 275.9 MB, free: 14.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.729e-05/0.009906, allocations: 25.72 kB / 275.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.009908, allocations: 0 / 275.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001337/0.01004, allocations: 65.58 kB / 276 MB, free: 14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.01006, allocations: 4 kB / 276 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01006, allocations: 0 / 276 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.01008, allocations: 0 / 276 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.165e-05/0.01015, allocations: 8 kB / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.01017, allocations: 7.922 kB / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.082e-05/0.0102, allocations: 3.938 kB / 276 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.01021, allocations: 4 kB / 276 MB, free: 13.97 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.0001495/0.01035, allocations: 129.9 kB / 276.1 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003161/0.01067, allocations: 141.6 kB / 276.3 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.929e-05/0.01074, allocations: 29.19 kB / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.654e-06/0.01074, allocations: 0 / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.01075, allocations: 4 kB / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.01076, allocations: 3.938 kB / 276.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.01092, allocations: 129.2 kB / 276.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01093, allocations: 0 / 276.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.0111, allocations: 27.92 kB / 276.4 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.01111, allocations: 4 kB / 276.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.01112, allocations: 8 kB / 276.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01112, allocations: 0 / 276.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01112, allocations: 0 / 276.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003717/0.0115, allocations: 176.9 kB / 276.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.489e-05/0.01158, allocations: 27.89 kB / 276.7 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.0116, allocations: 0 / 276.7 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.101e-05/0.01166, allocations: 8 kB / 276.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-06/0.01166, allocations: 0 / 276.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.01167, allocations: 4 kB / 276.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001435/0.01182, allocations: 115.2 kB / 276.8 MB, free: 13.11 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01182, allocations: 0 / 276.8 MB, free: 13.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003114/0.01213, allocations: 20 kB / 276.8 MB, free: 13.09 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.0001907/0.01232, allocations: 111.8 kB / 276.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001931/0.01251, allocations: 55.92 kB / 277 MB, free: 12.92 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01252, allocations: 0 / 277 MB, free: 12.92 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.01252, allocations: 4 kB / 277 MB, free: 12.92 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005598/0.01308, allocations: 87.8 kB / 277.1 MB, free: 12.83 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000632/0.01371, allocations: 264.5 kB / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/0.01386, allocations: 108.8 kB / 277.4 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.811e-05/0.01389, allocations: 8.484 kB / 277.4 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.037e-05/0.01394, allocations: 12.5 kB / 277.4 MB, free: 12.4 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01394, allocations: 0 / 277.4 MB, free: 12.4 MB / 266.7 MB Notification: Performance of Templates: time 0.005447/0.01939, allocations: 1.161 MB / 278.6 MB, free: 11.27 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 480] 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.306201059021987]