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.0009469/0.0009469, allocations: 85.05 kB / 21.5 MB, free: 2.984 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.001046/0.001046, allocations: 144.7 kB / 24.9 MB, free: 8.77 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.9458/0.9458, allocations: 173.4 MB / 201.5 MB, free: 8.758 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.242e-06/1.242e-06, allocations: 0 / 268.5 MB, free: 5.984 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.191e-05, allocations: 2.312 kB / 268.5 MB, free: 5.98 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.001687/0.001709, allocations: 0.9953 MB / 269.5 MB, free: 4.984 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003037/0.002012, allocations: 139.4 kB / 269.6 MB, free: 4.848 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.973e-05/0.002082, allocations: 4 kB / 269.6 MB, free: 4.844 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.43e-05/0.002176, allocations: 11.86 kB / 269.7 MB, free: 4.832 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.238e-05/0.002259, allocations: 7.938 kB / 269.7 MB, free: 4.824 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.002425, allocations: 47.83 kB / 269.7 MB, free: 4.777 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.952e-05/0.002525, allocations: 71.77 kB / 269.8 MB, free: 4.707 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.355e-05/0.002618, allocations: 24.2 kB / 269.8 MB, free: 4.684 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.737e-05/0.002666, allocations: 35.91 kB / 269.8 MB, free: 4.648 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.178e-05/0.002697, allocations: 23.95 kB / 269.9 MB, free: 4.625 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.002717, allocations: 4 kB / 269.9 MB, free: 4.621 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.002728, allocations: 8 kB / 269.9 MB, free: 4.613 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.066e-05/0.002789, allocations: 27.86 kB / 269.9 MB, free: 4.586 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.057e-05/0.002819, allocations: 23.91 kB / 269.9 MB, free: 4.562 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.002921, allocations: 55.75 kB / 270 MB, free: 4.508 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.002923, allocations: 4 kB / 270 MB, free: 4.504 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.002924, allocations: 0 / 270 MB, free: 4.504 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.002928, allocations: 0 / 270 MB, free: 4.504 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.0002543/0.003182, allocations: 300.4 kB / 270.3 MB, free: 4.184 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.813e-05/0.00321, allocations: 12.03 kB / 270.3 MB, free: 4.172 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.003239, allocations: 12.92 kB / 270.3 MB, free: 4.16 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.003387, allocations: 145.5 kB / 270.4 MB, free: 3.992 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-06/0.003394, allocations: 4.375 kB / 270.5 MB, free: 3.988 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.003404, allocations: 12.38 kB / 270.5 MB, free: 3.977 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.003585, allocations: 166.6 kB / 270.6 MB, free: 3.805 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.003591, allocations: 192 / 270.6 MB, free: 3.805 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-06/0.003597, allocations: 384 / 270.6 MB, free: 3.805 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.003601, allocations: 4.375 kB / 270.6 MB, free: 3.801 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.292e-05/0.003624, allocations: 23.86 kB / 270.7 MB, free: 3.777 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.595e-05/0.00368, allocations: 65 kB / 270.7 MB, free: 3.699 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.708e-05/0.003777, allocations: 74.47 kB / 270.8 MB, free: 3.617 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.003817, allocations: 48.81 kB / 270.8 MB, free: 3.566 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.133e-06/0.003824, allocations: 4 kB / 270.8 MB, free: 3.562 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.003842, allocations: 34.56 kB / 270.9 MB, free: 3.52 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 8.22e-07/0.003843, allocations: 0 / 270.9 MB, free: 3.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001146/0.003957, allocations: 85.61 kB / 271 MB, free: 3.43 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.003997, allocations: 66.72 kB / 271 MB, free: 3.355 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.634e-05/0.004064, allocations: 145.6 kB / 271.2 MB, free: 3.203 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.004073, allocations: 25.7 kB / 271.2 MB, free: 3.172 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.836e-05/0.004101, allocations: 88.45 kB / 271.3 MB, free: 3.078 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.397e-06/0.004111, allocations: 4 kB / 271.3 MB, free: 3.074 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.004137, allocations: 29.69 kB / 271.3 MB, free: 3.039 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.855e-05/0.004206, allocations: 318.8 kB / 271.6 MB, free: 2.719 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.264e-06/0.004213, allocations: 3.984 kB / 271.6 MB, free: 2.715 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.521e-05/0.004228, allocations: 17.7 kB / 271.6 MB, free: 2.691 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.341e-05/0.004252, allocations: 21.66 kB / 271.7 MB, free: 2.664 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.004253, allocations: 0 / 271.7 MB, free: 2.664 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.985e-05/0.004303, allocations: 49.72 kB / 271.7 MB, free: 2.609 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.978e-06/0.004313, allocations: 8.062 kB / 271.7 MB, free: 2.602 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.004317, allocations: 3.984 kB / 271.7 MB, free: 2.598 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.004327, allocations: 4 kB / 271.7 MB, free: 2.594 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.192e-05/0.004339, allocations: 0 / 271.7 MB, free: 2.594 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.375e-06/0.004341, allocations: 0 / 271.7 MB, free: 2.594 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.244e-05/0.004354, allocations: 3.984 kB / 271.7 MB, free: 2.59 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.00436, allocations: 8 kB / 271.7 MB, free: 2.582 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.789e-05/0.004418, allocations: 124.5 kB / 271.9 MB, free: 2.449 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.022e-05/0.004468, allocations: 69.67 kB / 271.9 MB, free: 2.375 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.975e-05/0.004498, allocations: 17.12 kB / 271.9 MB, free: 2.359 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.0045, allocations: 4 kB / 271.9 MB, free: 2.355 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.004501, allocations: 3.938 kB / 272 MB, free: 2.352 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.004505, allocations: 3.984 kB / 272 MB, free: 2.348 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.412e-05/0.004559, allocations: 85.77 kB / 272 MB, free: 2.246 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.004561, allocations: 4 kB / 272 MB, free: 2.242 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.061e-05/0.004572, allocations: 0 / 272 MB, free: 2.242 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.004573, allocations: 4 kB / 272 MB, free: 2.238 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/0.00458, allocations: 4 kB / 272.1 MB, free: 2.234 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.004581, allocations: 0 / 272.1 MB, free: 2.234 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.004582, allocations: 0 / 272.1 MB, free: 2.234 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.938e-05/0.004621, allocations: 68.94 kB / 272.1 MB, free: 2.148 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.052e-05/0.004652, allocations: 15.95 kB / 272.1 MB, free: 2.133 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.004669, allocations: 7.984 kB / 272.1 MB, free: 2.125 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.209e-05/0.004681, allocations: 3.938 kB / 272.1 MB, free: 2.121 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.305e-06/0.004683, allocations: 0 / 272.1 MB, free: 2.121 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.004689, allocations: 8 kB / 272.2 MB, free: 2.113 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.244e-05/0.004711, allocations: 27.64 kB / 272.2 MB, free: 2.086 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004711, allocations: 0 / 272.2 MB, free: 2.086 MB / 250.7 MB Notification: Performance of remove unused functions: time 9.629e-05/0.004807, allocations: 12 kB / 272.2 MB, free: 2.074 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.572e-05/0.004883, allocations: 88.42 kB / 272.3 MB, free: 1.98 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.484e-05/0.004948, allocations: 44.72 kB / 272.3 MB, free: 1.934 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.004951, allocations: 0 / 272.3 MB, free: 1.934 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.8e-07/0.004951, allocations: 0 / 272.3 MB, free: 1.934 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.005302, allocations: 74.17 kB / 272.4 MB, free: 1.863 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002421/0.005544, allocations: 200.5 kB / 272.6 MB, free: 1.637 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.685e-05/0.005581, allocations: 75.33 kB / 272.7 MB, free: 1.543 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.333e-05/0.005594, allocations: 0.5 kB / 272.7 MB, free: 1.543 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.962e-05/0.005644, allocations: 63.38 kB / 272.7 MB, free: 1.48 MB / 250.7 MB Notification: Performance of SimCode: time 7.22e-07/0.005644, allocations: 4.125 kB / 272.7 MB, free: 1.477 MB / 250.7 MB Notification: Performance of Templates: time 0.002522/0.008166, allocations: 1.059 MB / 273.8 MB, free: 452 kB / 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 -s gbode -gbm=radauIIA3 -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.4119536229409277]