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.001714/0.001714, 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.002113/0.002113, allocations: 215.4 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.526/1.526, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.00153/0.00153, allocations: 43.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2303, allocations: 53.36 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.002332/0.2326, allocations: 1.013 MB / 433.4 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003699/0.233, allocations: 139.5 kB / 433.5 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.171e-05/0.2331, allocations: 7.938 kB / 433.5 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.4e-05/0.2332, allocations: 15.8 kB / 433.5 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.307e-05/0.2333, allocations: 7.875 kB / 433.5 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.2335, allocations: 43.89 kB / 433.6 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.2336, allocations: 67.83 kB / 433.6 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.2337, allocations: 31.62 kB / 433.7 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.603e-05/0.2338, allocations: 31.86 kB / 433.7 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.876e-05/0.2338, allocations: 35.78 kB / 433.7 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.2338, allocations: 8 kB / 433.7 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.407e-05/0.2338, allocations: 4 kB / 433.7 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.708e-05/0.2339, allocations: 27.91 kB / 433.8 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.401e-05/0.234, allocations: 31.75 kB / 433.8 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.2341, allocations: 90.53 kB / 433.9 MB, free: 5.184 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2341, allocations: 0 / 433.9 MB, free: 5.184 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2341, allocations: 0 / 433.9 MB, free: 5.184 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.2341, allocations: 0 / 433.9 MB, free: 5.184 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.000465/0.2346, allocations: 333.8 kB / 434.2 MB, free: 4.824 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.2346, allocations: 12.03 kB / 434.2 MB, free: 4.812 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4e-05/0.2347, allocations: 16.88 kB / 434.2 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.2349, allocations: 146.9 kB / 434.4 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.2349, allocations: 12.33 kB / 434.4 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.2349, allocations: 8.375 kB / 434.4 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004157/0.2354, allocations: 221.5 kB / 434.6 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2354, allocations: 4 kB / 434.6 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.2354, allocations: 4 kB / 434.6 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2354, allocations: 0 / 434.6 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.27e-05/0.2355, allocations: 35.92 kB / 434.7 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001483/0.2356, allocations: 133.2 kB / 434.8 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.2358, allocations: 117.4 kB / 434.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.2359, allocations: 69.11 kB / 435 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.193e-06/0.2359, allocations: 0 / 435 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.236, allocations: 34.56 kB / 435 MB, free: 3.945 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.042e-06/0.236, allocations: 0 / 435 MB, free: 3.945 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002837/0.2363, allocations: 161.7 kB / 435.2 MB, free: 3.781 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/0.2363, allocations: 63.34 kB / 435.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.2365, allocations: 149.6 kB / 435.4 MB, free: 3.547 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.2365, allocations: 29.7 kB / 435.4 MB, free: 3.512 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.278e-05/0.2366, allocations: 84.47 kB / 435.5 MB, free: 3.422 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.2366, allocations: 15.92 kB / 435.5 MB, free: 3.406 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.2366, allocations: 37.67 kB / 435.5 MB, free: 3.363 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.2368, allocations: 322.8 kB / 435.9 MB, free: 3.039 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.673e-05/0.2368, allocations: 19.98 kB / 435.9 MB, free: 3.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.2369, allocations: 113.7 kB / 436 MB, free: 2.859 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.2371, allocations: 153.5 kB / 436.1 MB, free: 2.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.2371, allocations: 4 kB / 436.1 MB, free: 2.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002273/0.2373, allocations: 153.6 kB / 436.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.2373, allocations: 8 kB / 436.3 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.2373, allocations: 4 kB / 436.3 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.2374, allocations: 4 kB / 436.3 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.2375, allocations: 35.92 kB / 436.3 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.2375, allocations: 11.97 kB / 436.3 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.115e-05/0.2375, allocations: 19.89 kB / 436.4 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.2376, allocations: 12 kB / 436.4 MB, free: 2.406 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.000107/0.2377, allocations: 129.7 kB / 436.5 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.2378, allocations: 128.8 kB / 436.6 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.115e-05/0.2379, allocations: 25.06 kB / 436.7 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2379, allocations: 0 / 436.7 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.2379, allocations: 0 / 436.7 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2379, allocations: 3.984 kB / 436.7 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.427e-05/0.238, allocations: 121.2 kB / 436.8 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.238, allocations: 4 kB / 436.8 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.525e-05/0.2381, allocations: 23.98 kB / 436.8 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.2381, allocations: 3.938 kB / 436.8 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.2381, allocations: 4 kB / 436.8 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2381, allocations: 0 / 436.8 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2381, allocations: 4 kB / 436.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001999/0.2383, allocations: 156.9 kB / 437 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.772e-05/0.2384, allocations: 31.83 kB / 437 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.2384, allocations: 4 kB / 437 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.631e-05/0.2384, allocations: 0 / 437 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-06/0.2384, allocations: 0 / 437 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.2384, allocations: 8 kB / 437 MB, free: 1.711 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.516e-05/0.2385, allocations: 111.2 kB / 437.1 MB, free: 1.602 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2385, allocations: 0 / 437.1 MB, free: 1.602 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002362/0.2387, allocations: 16 kB / 437.1 MB, free: 1.586 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.0001017/0.2388, allocations: 99.25 kB / 437.2 MB, free: 1.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001809/0.239, allocations: 95.72 kB / 437.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.239, allocations: 0 / 437.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.1e-07/0.239, allocations: 0 / 437.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.2394, allocations: 79.8 kB / 437.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003908/0.2398, allocations: 226 kB / 437.6 MB, free: 1.062 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.2399, allocations: 117 kB / 437.7 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.827e-05/0.2399, allocations: 4.656 kB / 437.7 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.2399, allocations: 19.42 kB / 437.8 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2399, allocations: 0 / 437.8 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of Templates: time 0.003842/0.2438, allocations: 1.216 MB / 439 MB, free: 15.71 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 gbode -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: 4.358532070997171]