Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001621/0.001621, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002325/0.002325, allocations: 214.8 kB / 24.48 MB, free: 3.941 MB / 14.72 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.778/1.778, allocations: 230.6 MB / 258.2 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] 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.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 44.06 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4397/0.4413, allocations: 53.36 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.002965/0.4443, allocations: 1.029 MB / 433.4 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005126/0.4448, allocations: 135.5 kB / 433.5 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.4449, allocations: 4 kB / 433.5 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.4451, allocations: 11.86 kB / 433.5 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.4452, allocations: 11.86 kB / 433.5 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.4455, allocations: 47.89 kB / 433.6 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.4456, allocations: 67.78 kB / 433.6 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.4458, allocations: 34.91 kB / 433.7 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.958e-05/0.4458, allocations: 27.86 kB / 433.7 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.993e-05/0.4459, allocations: 27.84 kB / 433.7 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.4459, allocations: 15.94 kB / 433.7 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.573e-05/0.446, allocations: 4 kB / 433.7 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.449e-05/0.4461, allocations: 23.92 kB / 433.8 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.151e-05/0.4461, allocations: 31.8 kB / 433.8 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.4463, allocations: 95.22 kB / 433.9 MB, free: 5.195 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4463, allocations: 0 / 433.9 MB, free: 5.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4463, allocations: 0 / 433.9 MB, free: 5.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.4463, allocations: 0 / 433.9 MB, free: 5.195 MB / 334.1 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.000617/0.447, allocations: 337.7 kB / 434.2 MB, free: 4.832 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.447, allocations: 12.03 kB / 434.2 MB, free: 4.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.032e-05/0.4471, allocations: 12.89 kB / 434.2 MB, free: 4.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004185/0.4475, allocations: 146.9 kB / 434.4 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.4475, allocations: 12.33 kB / 434.4 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.4475, allocations: 4.375 kB / 434.4 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00047/0.448, allocations: 224.4 kB / 434.6 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.448, allocations: 3.984 kB / 434.6 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.448, allocations: 0 / 434.6 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.448, allocations: 0 / 434.6 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.519e-05/0.4481, allocations: 39.97 kB / 434.7 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001789/0.4483, allocations: 129.1 kB / 434.8 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/0.4485, allocations: 115 kB / 434.9 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.4486, allocations: 79.23 kB / 435 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.4487, allocations: 0 / 435 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/0.4487, allocations: 42.55 kB / 435 MB, free: 3.949 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 9.72e-07/0.4487, allocations: 0 / 435 MB, free: 3.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003194/0.449, allocations: 153.7 kB / 435.2 MB, free: 3.793 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.447e-05/0.4491, allocations: 59.41 kB / 435.2 MB, free: 3.723 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.4493, allocations: 153.4 kB / 435.4 MB, free: 3.559 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.4493, allocations: 25.7 kB / 435.4 MB, free: 3.527 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.61e-05/0.4494, allocations: 92.41 kB / 435.5 MB, free: 3.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.4494, allocations: 7.984 kB / 435.5 MB, free: 3.422 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.719e-05/0.4494, allocations: 45.59 kB / 435.5 MB, free: 3.371 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.4496, allocations: 322.8 kB / 435.9 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.826e-05/0.4496, allocations: 16 kB / 435.9 MB, free: 3.031 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.4497, allocations: 117.7 kB / 436 MB, free: 2.867 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.4499, allocations: 153.5 kB / 436.1 MB, free: 2.668 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4499, allocations: 0 / 436.1 MB, free: 2.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002454/0.4502, allocations: 161.6 kB / 436.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.4502, allocations: 8 kB / 436.3 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.4502, allocations: 4 kB / 436.3 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.4502, allocations: 4 kB / 436.3 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.4503, allocations: 31.92 kB / 436.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.4504, allocations: 4 kB / 436.4 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.322e-05/0.4504, allocations: 15.89 kB / 436.4 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.4504, allocations: 12 kB / 436.4 MB, free: 2.426 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 0.0001685/0.4506, allocations: 133.7 kB / 436.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.4508, allocations: 124.8 kB / 436.6 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.137e-05/0.4508, allocations: 21.11 kB / 436.7 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.4508, allocations: 3.938 kB / 436.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4508, allocations: 0 / 436.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.4508, allocations: 0 / 436.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.451, allocations: 125.2 kB / 436.8 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.451, allocations: 0 / 436.8 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.4511, allocations: 35.98 kB / 436.8 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.4511, allocations: 3.938 kB / 436.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.4511, allocations: 0 / 436.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4511, allocations: 0 / 436.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4511, allocations: 4 kB / 436.8 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.4513, allocations: 152.9 kB / 437 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.754e-05/0.4514, allocations: 31.77 kB / 437 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.4514, allocations: 8 kB / 437 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.375e-05/0.4514, allocations: 0 / 437 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.945e-06/0.4514, allocations: 0 / 437 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.4515, allocations: 8 kB / 437 MB, free: 1.727 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001009/0.4516, allocations: 111.2 kB / 437.1 MB, free: 1.617 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4516, allocations: 3.938 kB / 437.1 MB, free: 1.613 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002355/0.4518, allocations: 16 kB / 437.1 MB, free: 1.598 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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 0.0001333/0.4519, allocations: 103.2 kB / 437.2 MB, free: 1.488 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002225/0.4521, allocations: 95.7 kB / 437.3 MB, free: 1.395 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.4521, allocations: 0 / 437.3 MB, free: 1.395 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.01e-07/0.4521, allocations: 0 / 437.3 MB, free: 1.395 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.4526, allocations: 72.88 kB / 437.4 MB, free: 1.324 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/0.453, allocations: 224.9 kB / 437.6 MB, free: 1.078 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.4531, allocations: 117 kB / 437.7 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.946e-05/0.4532, allocations: 8.641 kB / 437.8 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.371e-05/0.4532, allocations: 11.44 kB / 437.8 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4532, allocations: 0 / 437.8 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of Templates: time 0.005329/0.4585, allocations: 1.217 MB / 439 MB, free: 15.72 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.30732049200742]