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.0009881/0.0009881, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001142/0.001142, allocations: 168.8 kB / 24.82 MB, free: 9.27 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.079/1.079, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.964e-06/1.964e-06, allocations: 0 / 273.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.213e-05/3.409e-05, allocations: 2.312 kB / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.00185/0.001885, allocations: 0.9419 MB / 274.3 MB, free: 380 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003793/0.002264, allocations: 139.5 kB / 274.5 MB, free: 240 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.574e-05/0.00235, allocations: 3.938 kB / 274.5 MB, free: 236 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.002458, allocations: 7.922 kB / 274.5 MB, free: 228 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.189e-05/0.00255, allocations: 11.94 kB / 274.5 MB, free: 216 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.002744, allocations: 47.77 kB / 274.5 MB, free: 168 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.002852, allocations: 71.81 kB / 274.6 MB, free: 96 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.002966, allocations: 24.22 kB / 274.6 MB, free: 68 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.39e-05/0.00302, allocations: 35.91 kB / 274.7 MB, free: 32 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.541e-05/0.003056, allocations: 23.89 kB / 274.7 MB, free: 8 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.003079, allocations: 8 kB / 274.7 MB, free: 0 / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.517e-05/0.003104, allocations: 4.047 kB / 274.7 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.355e-05/0.003168, allocations: 23.88 kB / 274.7 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.239e-05/0.0032, allocations: 23.91 kB / 274.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.003311, allocations: 59.69 kB / 274.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.003313, allocations: 0 / 274.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.003314, allocations: 0 / 274.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.003318, allocations: 4 kB / 274.8 MB, free: 15.89 MB / 266.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.0003328/0.003651, allocations: 428.1 kB / 275.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.003686, allocations: 8.031 kB / 275.2 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.496e-05/0.003721, allocations: 20.84 kB / 275.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.003866, allocations: 154.6 kB / 275.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.003875, allocations: 4.375 kB / 275.4 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.003885, allocations: 8.375 kB / 275.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.004075, allocations: 160.6 kB / 275.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.004082, allocations: 4.125 kB / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.004089, allocations: 4.375 kB / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.004097, allocations: 4.359 kB / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.659e-05/0.004124, allocations: 23.92 kB / 275.6 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.917e-05/0.004213, allocations: 113.2 kB / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.004331, allocations: 87.02 kB / 275.8 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.633e-05/0.004377, allocations: 59.95 kB / 275.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.004385, allocations: 4 kB / 275.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.004406, allocations: 37.39 kB / 275.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.004407, allocations: 0 / 275.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001462/0.004553, allocations: 113.3 kB / 276 MB, free: 14.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.004596, allocations: 63.41 kB / 276.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.636e-05/0.004682, allocations: 201.8 kB / 276.3 MB, free: 14.26 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.004692, allocations: 29.7 kB / 276.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.905e-05/0.004731, allocations: 127.2 kB / 276.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.166e-05/0.004743, allocations: 8 kB / 276.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.004775, allocations: 39.3 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.004886, allocations: 0.4883 MB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.004899, allocations: 7.984 kB / 277 MB, free: 13.53 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.852e-05/0.004918, allocations: 19.38 kB / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.77e-05/0.004946, allocations: 27.31 kB / 277 MB, free: 13.47 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.004949, allocations: 4 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.07e-05/0.004999, allocations: 45.69 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.005012, allocations: 6.656 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.005016, allocations: 4.062 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.005026, allocations: 0 / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.491e-05/0.005041, allocations: 7.938 kB / 277.1 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.005044, allocations: 0 / 277.1 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.254e-05/0.005056, allocations: 4 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/0.005061, allocations: 3.938 kB / 277.1 MB, free: 13.39 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 7.508e-05/0.005136, allocations: 156.6 kB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-05/0.005203, allocations: 97.58 kB / 277.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.564e-05/0.005239, allocations: 13.12 kB / 277.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.005242, allocations: 4 kB / 277.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.005243, allocations: 4 kB / 277.4 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.005247, allocations: 0 / 277.4 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.655e-05/0.005323, allocations: 121.1 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.005324, allocations: 0 / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.624e-05/0.005341, allocations: 7.938 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.005343, allocations: 0 / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.005349, allocations: 4 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.005351, allocations: 4 kB / 277.5 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.005352, allocations: 3.938 kB / 277.5 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.348e-05/0.005396, allocations: 68.34 kB / 277.6 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.629e-05/0.005432, allocations: 23.89 kB / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.005448, allocations: 8 kB / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.441e-05/0.005462, allocations: 7.984 kB / 277.6 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-06/0.005465, allocations: 0 / 277.6 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.005469, allocations: 0 / 277.6 MB, free: 12.81 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.241e-05/0.005511, allocations: 143.1 kB / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005512, allocations: 0 / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001126/0.005624, allocations: 16 kB / 277.8 MB, free: 12.65 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.232e-05/0.005716, allocations: 103.3 kB / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.208e-05/0.005789, allocations: 43.59 kB / 277.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.00579, allocations: 3.938 kB / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.005791, allocations: 0 / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.006025, allocations: 67.8 kB / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002289/0.006254, allocations: 210.1 kB / 278.2 MB, free: 12.19 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.517e-05/0.006289, allocations: 76.17 kB / 278.3 MB, free: 12.1 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.325e-05/0.006303, allocations: 0.5 kB / 278.3 MB, free: 12.1 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.267e-05/0.006355, allocations: 82.19 kB / 278.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.006356, allocations: 0 / 278.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of Templates: time 0.002472/0.008828, allocations: 1.069 MB / 279.4 MB, free: 10.98 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.702238084282726]