Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.00105/0.00105, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 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.001108/0.001108, allocations: 151.4 kB / 24.8 MB, free: 8.941 MB / 18.57 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.053/1.053, allocations: 173.4 MB / 201.4 MB, free: 9.219 MB / 186.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.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 268.4 MB, free: 6.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2.012e-05, allocations: 2.312 kB / 268.4 MB, free: 6.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002189/0.002209, allocations: 0.9408 MB / 269.3 MB, free: 5.262 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003667/0.002576, allocations: 147.5 kB / 269.5 MB, free: 5.117 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.151e-05/0.002657, allocations: 7.938 kB / 269.5 MB, free: 5.109 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.961e-05/0.002757, allocations: 11.86 kB / 269.5 MB, free: 5.098 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.522e-05/0.002842, allocations: 3.938 kB / 269.5 MB, free: 5.094 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001947/0.003037, allocations: 47.83 kB / 269.6 MB, free: 5.047 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.655e-05/0.003133, allocations: 63.77 kB / 269.6 MB, free: 4.984 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.003242, allocations: 32.2 kB / 269.7 MB, free: 4.953 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.407e-05/0.003296, allocations: 31.91 kB / 269.7 MB, free: 4.922 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.678e-05/0.003332, allocations: 23.95 kB / 269.7 MB, free: 4.898 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.003351, allocations: 4 kB / 269.7 MB, free: 4.895 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.097e-05/0.003362, allocations: 11.94 kB / 269.7 MB, free: 4.883 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.751e-05/0.00342, allocations: 23.92 kB / 269.7 MB, free: 4.859 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.003448, allocations: 23.92 kB / 269.8 MB, free: 4.836 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.889e-05/0.003547, allocations: 59.73 kB / 269.8 MB, free: 4.777 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.003549, allocations: 0 / 269.8 MB, free: 4.777 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.003549, allocations: 4 kB / 269.8 MB, free: 4.773 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.003553, allocations: 3.938 kB / 269.8 MB, free: 4.77 MB / 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.0002965/0.003849, allocations: 420.1 kB / 270.2 MB, free: 4.32 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.003882, allocations: 12.03 kB / 270.3 MB, free: 4.309 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.043e-05/0.003912, allocations: 20.83 kB / 270.3 MB, free: 4.289 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.004044, allocations: 152.3 kB / 270.4 MB, free: 4.113 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.004053, allocations: 8.375 kB / 270.4 MB, free: 4.105 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.004061, allocations: 4.375 kB / 270.4 MB, free: 4.102 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.004247, allocations: 165.2 kB / 270.6 MB, free: 3.926 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.004254, allocations: 192 / 270.6 MB, free: 3.926 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.251e-06/0.00426, allocations: 4.375 kB / 270.6 MB, free: 3.922 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.004266, allocations: 4.375 kB / 270.6 MB, free: 3.918 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.35e-05/0.00429, allocations: 19.92 kB / 270.6 MB, free: 3.898 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.87e-05/0.004379, allocations: 109.2 kB / 270.7 MB, free: 3.766 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.004495, allocations: 95.02 kB / 270.8 MB, free: 3.66 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.435e-05/0.00454, allocations: 51.53 kB / 270.9 MB, free: 3.609 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.004548, allocations: 4 kB / 270.9 MB, free: 3.605 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.004569, allocations: 37.39 kB / 270.9 MB, free: 3.559 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 9.22e-07/0.00457, allocations: 3.938 kB / 270.9 MB, free: 3.555 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.000149/0.004719, allocations: 121.5 kB / 271 MB, free: 3.43 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.004756, allocations: 59.41 kB / 271.1 MB, free: 3.359 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.276e-05/0.004839, allocations: 200.5 kB / 271.3 MB, free: 3.148 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.004849, allocations: 25.7 kB / 271.3 MB, free: 3.117 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.177e-05/0.004891, allocations: 139.2 kB / 271.5 MB, free: 2.973 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.628e-06/0.004901, allocations: 0 / 271.5 MB, free: 2.973 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/0.004931, allocations: 39.3 kB / 271.5 MB, free: 2.926 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.005041, allocations: 496.1 kB / 272 MB, free: 2.43 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.244e-06/0.005048, allocations: 7.984 kB / 272 MB, free: 2.422 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.572e-05/0.005064, allocations: 23.36 kB / 272 MB, free: 2.391 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.525e-05/0.005089, allocations: 27.31 kB / 272 MB, free: 2.355 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.00509, allocations: 0 / 272 MB, free: 2.355 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.439e-05/0.005135, allocations: 53.72 kB / 272.1 MB, free: 2.297 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.005144, allocations: 4 kB / 272.1 MB, free: 2.293 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.005148, allocations: 0 / 272.1 MB, free: 2.293 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.005159, allocations: 7.984 kB / 272.1 MB, free: 2.285 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.805e-06/0.005167, allocations: 0 / 272.1 MB, free: 2.285 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-06/0.005169, allocations: 0 / 272.1 MB, free: 2.285 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.561e-05/0.005185, allocations: 0 / 272.1 MB, free: 2.285 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.005191, allocations: 8 kB / 272.1 MB, free: 2.277 MB / 250.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 6.368e-05/0.005254, allocations: 160.6 kB / 272.3 MB, free: 2.109 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-05/0.005319, allocations: 93.58 kB / 272.4 MB, free: 2.012 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.276e-05/0.005352, allocations: 21.12 kB / 272.4 MB, free: 1.992 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.005354, allocations: 0 / 272.4 MB, free: 1.992 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.005355, allocations: 3.938 kB / 272.4 MB, free: 1.988 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.005357, allocations: 0 / 272.4 MB, free: 1.988 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.798e-05/0.005415, allocations: 121.1 kB / 272.5 MB, free: 1.844 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.005416, allocations: 4 kB / 272.5 MB, free: 1.84 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.006e-06/0.005424, allocations: 4 kB / 272.5 MB, free: 1.836 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.005426, allocations: 4 kB / 272.5 MB, free: 1.832 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.005432, allocations: 4 kB / 272.5 MB, free: 1.828 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.005433, allocations: 0 / 272.5 MB, free: 1.828 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.005434, allocations: 0 / 272.5 MB, free: 1.828 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.636e-05/0.00547, allocations: 72.28 kB / 272.6 MB, free: 1.734 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.056e-05/0.0055, allocations: 19.94 kB / 272.6 MB, free: 1.715 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.005516, allocations: 11.94 kB / 272.6 MB, free: 1.703 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.222e-05/0.005528, allocations: 3.984 kB / 272.6 MB, free: 1.699 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.834e-06/0.00553, allocations: 0 / 272.6 MB, free: 1.699 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.005535, allocations: 8 kB / 272.6 MB, free: 1.691 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.167e-05/0.005577, allocations: 141.7 kB / 272.8 MB, free: 1.555 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005577, allocations: 4 kB / 272.8 MB, free: 1.551 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001159/0.005693, allocations: 12 kB / 272.8 MB, free: 1.539 MB / 250.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,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.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 7.135e-05/0.005764, allocations: 99.25 kB / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.623e-05/0.005831, allocations: 46.5 kB / 272.9 MB, free: 1.387 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.005832, allocations: 4 kB / 272.9 MB, free: 1.383 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.8e-07/0.005832, allocations: 0 / 272.9 MB, free: 1.383 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.006052, allocations: 70.8 kB / 273 MB, free: 1.316 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002309/0.006282, allocations: 214.3 kB / 273.2 MB, free: 1.074 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.488e-05/0.006317, allocations: 75.33 kB / 273.3 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.284e-05/0.00633, allocations: 4.5 kB / 273.3 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.945e-05/0.00638, allocations: 78.19 kB / 273.4 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of SimCode: time 3.61e-07/0.00638, allocations: 4 kB / 273.4 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of Templates: time 0.002257/0.008637, allocations: 1.054 MB / 274.4 MB, free: 15.87 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6424320773221552]