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.0008687/0.0008687, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001041/0.00191, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0006828/0.0006828, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008609/0.001544, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9799/0.9799, allocations: 173.4 MB / 185.8 MB, free: 9.008 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09099/1.071, allocations: 52.49 MB / 238.3 MB, free: 4.457 MB / 234.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.753e-06/1.753e-06, allocations: 0 / 239.5 MB, free: 3.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.362e-05/2.538e-05, allocations: 2.875 kB / 239.5 MB, free: 3.203 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002208/0.002234, allocations: 0.994 MB / 240.5 MB, free: 2.211 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002432/0.002477, allocations: 145 kB / 240.7 MB, free: 2.07 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.755e-05/0.002554, allocations: 4 kB / 240.7 MB, free: 2.066 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.656e-05/0.002621, allocations: 11.86 kB / 240.7 MB, free: 2.055 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 5.125e-05/0.002672, allocations: 7.875 kB / 240.7 MB, free: 2.047 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001464/0.002819, allocations: 47.81 kB / 240.7 MB, free: 2 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 9.837e-05/0.002917, allocations: 67.83 kB / 240.8 MB, free: 1.934 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.95e-05/0.003006, allocations: 20.22 kB / 240.8 MB, free: 1.914 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.717e-05/0.003064, allocations: 43.89 kB / 240.9 MB, free: 1.871 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.277e-05/0.003096, allocations: 23.91 kB / 240.9 MB, free: 1.848 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.003119, allocations: 8 kB / 240.9 MB, free: 1.84 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.054e-05/0.003129, allocations: 4 kB / 240.9 MB, free: 1.836 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.461e-05/0.003184, allocations: 27.88 kB / 240.9 MB, free: 1.809 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.849e-05/0.003212, allocations: 15.94 kB / 241 MB, free: 1.793 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 9.472e-05/0.003307, allocations: 59.69 kB / 241 MB, free: 1.734 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.315e-05/0.00332, allocations: 0 / 241 MB, free: 1.734 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.003321, allocations: 0 / 241 MB, free: 1.734 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.003335, allocations: 0 / 241 MB, free: 1.734 MB / 234.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.0003289/0.003664, allocations: 308.1 kB / 241.3 MB, free: 1.406 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.772e-05/0.003692, allocations: 16.02 kB / 241.3 MB, free: 1.391 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.099e-05/0.003723, allocations: 16.94 kB / 241.3 MB, free: 1.375 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.003868, allocations: 145.5 kB / 241.5 MB, free: 1.207 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.003878, allocations: 4.375 kB / 241.5 MB, free: 1.203 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.00389, allocations: 8.375 kB / 241.5 MB, free: 1.195 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.004063, allocations: 162.6 kB / 241.7 MB, free: 1.027 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.00407, allocations: 192 / 241.7 MB, free: 1.027 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.004078, allocations: 4.375 kB / 241.7 MB, free: 1.023 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.004084, allocations: 4.375 kB / 241.7 MB, free: 1.02 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.346e-05/0.004107, allocations: 23.86 kB / 241.7 MB, free: 0.9961 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.285e-05/0.00417, allocations: 72.92 kB / 241.8 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.004278, allocations: 70.47 kB / 241.8 MB, free: 0.832 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.861e-05/0.004316, allocations: 40.84 kB / 241.9 MB, free: 0.7891 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.004328, allocations: 0 / 241.9 MB, free: 0.7891 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.004349, allocations: 38.56 kB / 241.9 MB, free: 0.7422 MB / 234.7 MB Notification: Performance of pre-optimization done (n=16): time 7.41e-07/0.00435, allocations: 4 kB / 241.9 MB, free: 0.7383 MB / 234.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001323/0.004482, allocations: 97.47 kB / 242 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.004532, allocations: 62.5 kB / 242.1 MB, free: 0.5664 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.094e-05/0.004603, allocations: 141.1 kB / 242.2 MB, free: 428 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.004614, allocations: 25.7 kB / 242.2 MB, free: 396 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.862e-05/0.004643, allocations: 92.44 kB / 242.3 MB, free: 296 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.988e-06/0.004653, allocations: 3.953 kB / 242.3 MB, free: 292 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.004681, allocations: 25.7 kB / 242.3 MB, free: 260 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.591e-05/0.004767, allocations: 322.8 kB / 242.7 MB, free: 15.93 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.612e-06/0.004774, allocations: 0 / 242.7 MB, free: 15.93 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.508e-05/0.004789, allocations: 21.7 kB / 242.7 MB, free: 15.9 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.424e-05/0.004813, allocations: 25.64 kB / 242.7 MB, free: 15.87 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.004815, allocations: 0 / 242.7 MB, free: 15.87 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.42e-05/0.004859, allocations: 45.62 kB / 242.8 MB, free: 15.82 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.004871, allocations: 4 kB / 242.8 MB, free: 15.82 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.004877, allocations: 0 / 242.8 MB, free: 15.82 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.387e-06/0.004886, allocations: 0 / 242.8 MB, free: 15.82 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.43e-05/0.004901, allocations: 8 kB / 242.8 MB, free: 15.81 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.004904, allocations: 64 / 242.8 MB, free: 15.81 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.099e-05/0.004915, allocations: 4 kB / 242.8 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.004921, allocations: 4 kB / 242.8 MB, free: 15.8 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.081e-05/0.004982, allocations: 116.6 kB / 242.9 MB, free: 15.68 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.174e-05/0.005034, allocations: 77.59 kB / 243 MB, free: 15.59 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.409e-05/0.005068, allocations: 13.12 kB / 243 MB, free: 15.58 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.005069, allocations: 4 kB / 243 MB, free: 15.57 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.005071, allocations: 0 / 243 MB, free: 15.57 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.005074, allocations: 0 / 243 MB, free: 15.57 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.088e-05/0.005135, allocations: 93.8 kB / 243.1 MB, free: 15.46 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.005136, allocations: 0 / 243.1 MB, free: 15.46 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.111e-05/0.005147, allocations: 15.97 kB / 243.1 MB, free: 15.45 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.088e-05/0.005178, allocations: 15.95 kB / 243.1 MB, free: 15.43 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.005179, allocations: 4 kB / 243.1 MB, free: 15.43 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-06/0.005183, allocations: 0 / 243.1 MB, free: 15.43 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.005184, allocations: 0 / 243.1 MB, free: 15.43 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.005185, allocations: 0 / 243.1 MB, free: 15.43 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.802e-05/0.005233, allocations: 68.94 kB / 243.2 MB, free: 15.34 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.005252, allocations: 7.938 kB / 243.2 MB, free: 15.34 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.236e-05/0.005264, allocations: 0 / 243.2 MB, free: 15.34 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.104e-06/0.005267, allocations: 0 / 243.2 MB, free: 15.34 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.005275, allocations: 8 kB / 243.2 MB, free: 15.33 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.248e-05/0.005307, allocations: 31.48 kB / 243.2 MB, free: 15.3 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005307, allocations: 0 / 243.2 MB, free: 15.3 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001449/0.005452, allocations: 8 kB / 243.2 MB, free: 15.29 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 9.325e-05/0.005545, allocations: 88.41 kB / 243.3 MB, free: 15.2 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.712e-05/0.005622, allocations: 36.8 kB / 243.4 MB, free: 15.16 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.005626, allocations: 0 / 243.4 MB, free: 15.16 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.9e-07/0.005626, allocations: 0 / 243.4 MB, free: 15.16 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.005836, allocations: 85.52 kB / 243.4 MB, free: 15.08 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002568/0.006093, allocations: 220.3 kB / 243.6 MB, free: 14.83 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.171e-05/0.006134, allocations: 75.33 kB / 243.7 MB, free: 14.74 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.374e-05/0.006148, allocations: 0.5 kB / 243.7 MB, free: 14.74 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.167e-05/0.00621, allocations: 63.38 kB / 243.8 MB, free: 14.68 MB / 250.7 MB Notification: Performance of SimCode: time 6.51e-07/0.00621, allocations: 0 / 243.8 MB, free: 14.68 MB / 250.7 MB Notification: Performance of Templates: time 0.03094/0.03715, allocations: 1.076 MB / 244.9 MB, free: 13.62 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 -ignoreHideResult -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.509088184684515]