Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002774/0.002774, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003621/0.003621, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.575/1.575, allocations: 177 MB / 204.4 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.761e-05, allocations: 2.312 kB / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.00249/0.002518, allocations: 1.03 MB / 273.2 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004287/0.002947, allocations: 135.5 kB / 273.4 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.074e-05/0.003037, allocations: 3.938 kB / 273.4 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.003161, allocations: 15.88 kB / 273.4 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.003272, allocations: 15.86 kB / 273.4 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.003503, allocations: 39.89 kB / 273.4 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.003645, allocations: 71.77 kB / 273.5 MB, free: 480 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.003778, allocations: 31.86 kB / 273.5 MB, free: 448 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.543e-05/0.003844, allocations: 35.91 kB / 273.6 MB, free: 412 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.456e-05/0.003908, allocations: 23.91 kB / 273.6 MB, free: 388 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.003932, allocations: 4 kB / 273.6 MB, free: 384 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.553e-05/0.003948, allocations: 8 kB / 273.6 MB, free: 376 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.228e-05/0.00402, allocations: 27.91 kB / 273.6 MB, free: 348 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.444e-05/0.004075, allocations: 19.94 kB / 273.7 MB, free: 328 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.004251, allocations: 91.61 kB / 273.8 MB, free: 236 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.004254, allocations: 0 / 273.8 MB, free: 236 kB / 250.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.004255, allocations: 0 / 273.8 MB, free: 236 kB / 250.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.00426, allocations: 0 / 273.8 MB, free: 236 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.000611/0.004871, allocations: 435.8 kB / 274.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.004909, allocations: 19.92 kB / 274.2 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.03e-05/0.004969, allocations: 20.84 kB / 274.2 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.005215, allocations: 160.9 kB / 274.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.005233, allocations: 8.375 kB / 274.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.005247, allocations: 4.375 kB / 274.4 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004007/0.005648, allocations: 199.9 kB / 274.6 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.005656, allocations: 192 / 274.6 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.00567, allocations: 8.125 kB / 274.6 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.005674, allocations: 4 kB / 274.6 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.946e-05/0.005744, allocations: 27.98 kB / 274.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001992/0.005943, allocations: 148.5 kB / 274.8 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.006195, allocations: 123.4 kB / 274.9 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.006313, allocations: 66.48 kB / 275 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.00633, allocations: 4 kB / 275 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.006359, allocations: 33.39 kB / 275 MB, free: 14.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.002e-06/0.00636, allocations: 4 kB / 275 MB, free: 14.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003104/0.006671, allocations: 141.8 kB / 275.1 MB, free: 14.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.507e-05/0.006766, allocations: 75.28 kB / 275.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.006958, allocations: 213.3 kB / 275.4 MB, free: 14.4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.006983, allocations: 29.7 kB / 275.4 MB, free: 14.37 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.007083, allocations: 139.2 kB / 275.6 MB, free: 14.22 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.007101, allocations: 8 kB / 275.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.631e-05/0.007147, allocations: 27.33 kB / 275.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002701/0.007417, allocations: 0.4884 MB / 276.1 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.2e-05/0.007429, allocations: 4 kB / 276.1 MB, free: 13.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.66e-05/0.007466, allocations: 27.38 kB / 276.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.891e-05/0.007514, allocations: 35.25 kB / 276.2 MB, free: 13.6 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.007516, allocations: 4 kB / 276.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.331e-05/0.007609, allocations: 53.62 kB / 276.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.007623, allocations: 4 kB / 276.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.007634, allocations: 7.938 kB / 276.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.007656, allocations: 0 / 276.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.048e-05/0.007707, allocations: 4 kB / 276.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.007713, allocations: 3.984 kB / 276.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.122e-05/0.007735, allocations: 8 kB / 276.2 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.00774, allocations: 0 / 276.2 MB, free: 13.51 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: 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 (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 0.0001301/0.00787, allocations: 164.6 kB / 276.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/0.008043, allocations: 120.6 kB / 276.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.475e-05/0.008098, allocations: 25.05 kB / 276.6 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.0081, allocations: 0 / 276.6 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.008106, allocations: 4 kB / 276.6 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.008109, allocations: 0 / 276.6 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.008248, allocations: 140.6 kB / 276.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.00825, allocations: 0 / 276.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.729e-05/0.008347, allocations: 28 kB / 276.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.008349, allocations: 0 / 276.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.00836, allocations: 3.984 kB / 276.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.008363, allocations: 7.938 kB / 276.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.008364, allocations: 0 / 276.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004704/0.008835, allocations: 164.2 kB / 276.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.779e-05/0.008892, allocations: 27.83 kB / 276.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.008912, allocations: 4 kB / 276.9 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.044e-05/0.008942, allocations: 7.938 kB / 276.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-06/0.008945, allocations: 0 / 276.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.008955, allocations: 8 kB / 276.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001108/0.009066, allocations: 147.2 kB / 277.1 MB, free: 12.6 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009066, allocations: 0 / 277.1 MB, free: 12.6 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00018/0.009246, allocations: 16 kB / 277.1 MB, free: 12.59 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: 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.0001217/0.009368, allocations: 107.2 kB / 277.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001658/0.009533, allocations: 47.61 kB / 277.3 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.009535, allocations: 4 kB / 277.3 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.009536, allocations: 0 / 277.3 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/0.00998, allocations: 71.77 kB / 277.3 MB, free: 12.35 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004892/0.01047, allocations: 238.5 kB / 277.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.0106, allocations: 100.9 kB / 277.7 MB, free: 11.97 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.788e-05/0.01062, allocations: 0.5 kB / 277.7 MB, free: 11.97 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/0.01066, allocations: 16.5 kB / 277.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01067, allocations: 0 / 277.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of Templates: time 0.004159/0.01482, allocations: 0.9747 MB / 278.6 MB, free: 10.98 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.675154455006123]