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.0008139/0.0008139, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0008794/0.0008794, allocations: 145.2 kB / 24.89 MB, free: 9.203 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 0.9277/0.9277, allocations: 173.3 MB / 201.5 MB, free: 9.18 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.362e-06/1.362e-06, allocations: 0 / 268.5 MB, free: 6.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.716e-05/1.852e-05, allocations: 6.25 kB / 268.5 MB, free: 6.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.00141/0.001429, allocations: 0.9526 MB / 269.4 MB, free: 5.223 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002719/0.0017, allocations: 131.5 kB / 269.5 MB, free: 5.094 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.714e-05/0.001768, allocations: 7.938 kB / 269.6 MB, free: 5.086 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.201e-05/0.00186, allocations: 11.86 kB / 269.6 MB, free: 5.074 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.692e-05/0.001936, allocations: 7.938 kB / 269.6 MB, free: 5.066 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001702/0.002107, allocations: 43.88 kB / 269.6 MB, free: 5.023 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.764e-05/0.002204, allocations: 71.77 kB / 269.7 MB, free: 4.953 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.99e-05/0.002294, allocations: 32.14 kB / 269.7 MB, free: 4.922 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.558e-05/0.00234, allocations: 39.89 kB / 269.8 MB, free: 4.883 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.139e-05/0.002371, allocations: 11.98 kB / 269.8 MB, free: 4.871 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.002394, allocations: 8 kB / 269.8 MB, free: 4.863 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.808e-06/0.002404, allocations: 4 kB / 269.8 MB, free: 4.859 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.28e-05/0.002467, allocations: 35.83 kB / 269.8 MB, free: 4.824 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.744e-05/0.002494, allocations: 15.94 kB / 269.8 MB, free: 4.809 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.459e-05/0.002589, allocations: 59.8 kB / 269.9 MB, free: 4.75 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.273e-06/0.00259, allocations: 0 / 269.9 MB, free: 4.75 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.002591, allocations: 0 / 269.9 MB, free: 4.75 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.002594, allocations: 4 kB / 269.9 MB, free: 4.746 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.0002476/0.002842, allocations: 296.4 kB / 270.2 MB, free: 4.43 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.523e-05/0.002867, allocations: 8.031 kB / 270.2 MB, free: 4.422 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.795e-05/0.002895, allocations: 16.92 kB / 270.2 MB, free: 4.406 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.003033, allocations: 144.5 kB / 270.3 MB, free: 4.242 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.854e-06/0.003041, allocations: 8.375 kB / 270.4 MB, free: 4.234 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.003053, allocations: 8.375 kB / 270.4 MB, free: 4.227 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.003223, allocations: 174.2 kB / 270.5 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.00323, allocations: 192 / 270.5 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-06/0.003237, allocations: 4.375 kB / 270.5 MB, free: 4.043 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.003241, allocations: 384 / 270.5 MB, free: 4.043 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.074e-05/0.003262, allocations: 15.94 kB / 270.6 MB, free: 4.027 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.869e-05/0.003321, allocations: 76.91 kB / 270.6 MB, free: 3.938 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.003423, allocations: 74.47 kB / 270.7 MB, free: 3.855 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.819e-05/0.003461, allocations: 52.34 kB / 270.8 MB, free: 3.805 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-06/0.003468, allocations: 7.938 kB / 270.8 MB, free: 3.797 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.003485, allocations: 30.56 kB / 270.8 MB, free: 3.758 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 7.21e-07/0.003486, allocations: 0 / 270.8 MB, free: 3.758 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001117/0.003598, allocations: 89.66 kB / 270.9 MB, free: 3.664 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.003638, allocations: 67.28 kB / 270.9 MB, free: 3.586 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.465e-05/0.003703, allocations: 138.6 kB / 271.1 MB, free: 3.438 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/0.003712, allocations: 33.7 kB / 271.1 MB, free: 3.398 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.174e-05/0.003734, allocations: 84.45 kB / 271.2 MB, free: 3.309 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.677e-06/0.003743, allocations: 4 kB / 271.2 MB, free: 3.305 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.135e-05/0.003764, allocations: 21.7 kB / 271.2 MB, free: 3.277 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.876e-05/0.003833, allocations: 326.8 kB / 271.5 MB, free: 2.949 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.709e-06/0.003837, allocations: 3.938 kB / 271.5 MB, free: 2.945 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.487e-05/0.003852, allocations: 17.72 kB / 271.6 MB, free: 2.922 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.215e-05/0.003874, allocations: 21.7 kB / 271.6 MB, free: 2.895 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.003876, allocations: 0 / 271.6 MB, free: 2.895 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.991e-05/0.003916, allocations: 45.62 kB / 271.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.003927, allocations: 4 kB / 271.6 MB, free: 2.84 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.003932, allocations: 8.047 kB / 271.6 MB, free: 2.832 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.003942, allocations: 4 kB / 271.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.375e-06/0.00395, allocations: 0 / 271.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.003952, allocations: 0 / 271.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.037e-05/0.003963, allocations: 0 / 271.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.003967, allocations: 4 kB / 271.6 MB, free: 2.824 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 5.87e-05/0.004026, allocations: 120.6 kB / 271.8 MB, free: 2.695 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.153e-05/0.004077, allocations: 73.61 kB / 271.8 MB, free: 2.617 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.004108, allocations: 21.11 kB / 271.9 MB, free: 2.598 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.004109, allocations: 0 / 271.9 MB, free: 2.598 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.004112, allocations: 8 kB / 271.9 MB, free: 2.59 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.004115, allocations: 0 / 271.9 MB, free: 2.59 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.345e-05/0.004168, allocations: 89.7 kB / 271.9 MB, free: 2.484 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.004169, allocations: 0 / 271.9 MB, free: 2.484 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.578e-06/0.004178, allocations: 7.984 kB / 272 MB, free: 2.477 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.004179, allocations: 0 / 272 MB, free: 2.477 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-06/0.004184, allocations: 4 kB / 272 MB, free: 2.473 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.004184, allocations: 0 / 272 MB, free: 2.473 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.51e-07/0.004185, allocations: 3.938 kB / 272 MB, free: 2.469 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.086e-05/0.004216, allocations: 53.08 kB / 272 MB, free: 2.398 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.887e-05/0.004245, allocations: 19.94 kB / 272 MB, free: 2.379 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.004259, allocations: 8 kB / 272 MB, free: 2.371 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.217e-05/0.004271, allocations: 7.938 kB / 272.1 MB, free: 2.363 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.355e-06/0.004274, allocations: 0 / 272.1 MB, free: 2.363 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.004278, allocations: 4 kB / 272.1 MB, free: 2.359 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.988e-05/0.004298, allocations: 27.48 kB / 272.1 MB, free: 2.332 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004298, allocations: 0 / 272.1 MB, free: 2.332 MB / 250.7 MB Notification: Performance of remove unused functions: time 9.444e-05/0.004392, allocations: 12 kB / 272.1 MB, free: 2.32 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 6.84e-05/0.00446, allocations: 96.34 kB / 272.2 MB, free: 2.219 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.641e-05/0.004517, allocations: 38.62 kB / 272.2 MB, free: 2.18 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.004519, allocations: 0 / 272.2 MB, free: 2.18 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.004519, allocations: 0 / 272.2 MB, free: 2.18 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.004681, allocations: 77.53 kB / 272.3 MB, free: 2.105 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001989/0.00488, allocations: 200.6 kB / 272.5 MB, free: 1.879 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.264e-05/0.004913, allocations: 75.33 kB / 272.6 MB, free: 1.785 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.273e-05/0.004925, allocations: 4.484 kB / 272.6 MB, free: 1.781 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.692e-05/0.004972, allocations: 63.36 kB / 272.6 MB, free: 1.719 MB / 250.7 MB Notification: Performance of SimCode: time 3.51e-07/0.004973, allocations: 0 / 272.6 MB, free: 1.719 MB / 250.7 MB Notification: Performance of Templates: time 0.002196/0.007168, allocations: 1.068 MB / 273.7 MB, free: 0.6797 MB / 250.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.4495200500823557]