Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.0009761/0.0009761, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001067/0.001067, allocations: 161.3 kB / 24.99 MB, free: 9.273 MB / 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.098/1.098, allocations: 177.1 MB / 205.3 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.[0-9,]+.",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 273.1 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.016e-05/3.2e-05, allocations: 2.312 kB / 273.1 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002671/0.002703, allocations: 0.9429 MB / 274 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004292/0.003133, allocations: 143.4 kB / 274.1 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.003245, allocations: 0 / 274.1 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.003376, allocations: 15.86 kB / 274.2 MB, free: 0.75 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.003491, allocations: 11.88 kB / 274.2 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.003754, allocations: 51.81 kB / 274.2 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.003903, allocations: 55.84 kB / 274.3 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.004071, allocations: 28.2 kB / 274.3 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.259e-05/0.004134, allocations: 39.91 kB / 274.3 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.663e-05/0.00417, allocations: 19.91 kB / 274.4 MB, free: 0.543 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.004198, allocations: 11.98 kB / 274.4 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.289e-05/0.004211, allocations: 4 kB / 274.4 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.86e-05/0.00429, allocations: 19.92 kB / 274.4 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.149e-05/0.004331, allocations: 23.92 kB / 274.4 MB, free: 496 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.004464, allocations: 67.67 kB / 274.5 MB, free: 428 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.004469, allocations: 0 / 274.5 MB, free: 428 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.00447, allocations: 0 / 274.5 MB, free: 428 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.004475, allocations: 0 / 274.5 MB, free: 428 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.0003964/0.004871, allocations: 424.4 kB / 274.9 MB, free: 15.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.004909, allocations: 8.031 kB / 274.9 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.004955, allocations: 12.89 kB / 274.9 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.005149, allocations: 160.3 kB / 275.1 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.005159, allocations: 384 / 275.1 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.005172, allocations: 16.38 kB / 275.1 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.005427, allocations: 172.6 kB / 275.3 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.005435, allocations: 4.188 kB / 275.3 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.005446, allocations: 4.375 kB / 275.3 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.005456, allocations: 4.125 kB / 275.3 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.923e-05/0.005495, allocations: 23.92 kB / 275.3 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001052/0.0056, allocations: 140.6 kB / 275.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.005769, allocations: 107.4 kB / 275.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.306e-05/0.005832, allocations: 54.75 kB / 275.6 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.275e-06/0.00584, allocations: 4 kB / 275.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.005861, allocations: 37.39 kB / 275.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 8.51e-07/0.005862, allocations: 0 / 275.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001973/0.006059, allocations: 121.6 kB / 275.7 MB, free: 15.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.006114, allocations: 63.39 kB / 275.8 MB, free: 14.94 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.006222, allocations: 207.7 kB / 276 MB, free: 14.72 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.006234, allocations: 33.7 kB / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/0.006277, allocations: 135.1 kB / 276.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.396e-05/0.006291, allocations: 4 kB / 276.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.006325, allocations: 31.31 kB / 276.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.006445, allocations: 0.4884 MB / 276.7 MB, free: 14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.456e-05/0.006459, allocations: 3.984 kB / 276.7 MB, free: 13.99 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.172e-05/0.006481, allocations: 23.38 kB / 276.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.548e-05/0.006516, allocations: 23.38 kB / 276.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.006519, allocations: 0 / 276.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.988e-05/0.006578, allocations: 57.62 kB / 276.8 MB, free: 13.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.006594, allocations: 4 kB / 276.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.006602, allocations: 4 kB / 276.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.006619, allocations: 4 kB / 276.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.362e-05/0.006633, allocations: 0 / 276.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.006641, allocations: 7.875 kB / 276.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.375e-05/0.006655, allocations: 0 / 276.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.006661, allocations: 4 kB / 276.8 MB, free: 13.84 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 8.414e-05/0.006745, allocations: 164.5 kB / 277 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.653e-05/0.006831, allocations: 101.6 kB / 277.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.663e-05/0.006878, allocations: 21.12 kB / 277.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.00688, allocations: 0 / 277.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.006884, allocations: 0 / 277.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.006894, allocations: 3.938 kB / 277.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.988e-05/0.006963, allocations: 136.5 kB / 277.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.006964, allocations: 0 / 277.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.949e-06/0.006974, allocations: 4 kB / 277.3 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.006976, allocations: 3.938 kB / 277.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.006985, allocations: 0 / 277.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.006986, allocations: 0 / 277.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.006987, allocations: 4 kB / 277.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.007098, allocations: 155.6 kB / 277.4 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.44e-05/0.007132, allocations: 19.94 kB / 277.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.007153, allocations: 4 kB / 277.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.607e-05/0.007169, allocations: 7.984 kB / 277.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-06/0.007173, allocations: 0 / 277.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.007178, allocations: 4 kB / 277.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.618e-05/0.007224, allocations: 141.7 kB / 277.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007224, allocations: 0 / 277.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001227/0.007347, allocations: 15.94 kB / 277.6 MB, free: 13 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,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.921e-05/0.007446, allocations: 111.2 kB / 277.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001007/0.007547, allocations: 43.61 kB / 277.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.007549, allocations: 4 kB / 277.8 MB, free: 12.83 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.007549, allocations: 0 / 277.8 MB, free: 12.83 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.007822, allocations: 63.81 kB / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000259/0.008081, allocations: 214.1 kB / 278 MB, free: 12.53 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.691e-05/0.008118, allocations: 72.17 kB / 278.1 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.577e-05/0.008133, allocations: 4.625 kB / 278.1 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.504e-05/0.008158, allocations: 16.5 kB / 278.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of SimCode: time 9.01e-07/0.008159, allocations: 0 / 278.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of Templates: time 0.002545/0.0107, allocations: 1.023 MB / 279.1 MB, free: 11.42 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.9617099249735475]