Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.0008113/0.0008113, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001136/0.001947, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006416/0.0006416, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009209/0.001563, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8669/0.8669, allocations: 173.4 MB / 185.9 MB, free: 8.918 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07173/0.9387, allocations: 52.49 MB / 238.4 MB, free: 4.367 MB / 234.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.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.[0-9,]+.",fileNamePrefix="Modelica_4.0.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.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 239.7 MB, free: 3.078 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.034e-05, allocations: 2.312 kB / 239.7 MB, free: 3.074 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.0021/0.00212, allocations: 1.103 MB / 240.8 MB, free: 1.973 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002621/0.002382, allocations: 143.5 kB / 241 MB, free: 1.832 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.988e-05/0.002462, allocations: 3.938 kB / 241 MB, free: 1.828 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.721e-05/0.00253, allocations: 15.8 kB / 241 MB, free: 1.812 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.189e-05/0.002591, allocations: 7.938 kB / 241 MB, free: 1.805 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.002763, allocations: 51.75 kB / 241.1 MB, free: 1.754 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.002884, allocations: 59.84 kB / 241.1 MB, free: 1.695 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.002986, allocations: 27.97 kB / 241.1 MB, free: 1.668 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.308e-05/0.00306, allocations: 51.83 kB / 241.2 MB, free: 1.617 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.194e-05/0.003111, allocations: 23.91 kB / 241.2 MB, free: 1.594 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.003137, allocations: 4 kB / 241.2 MB, free: 1.59 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.542e-05/0.003152, allocations: 8 kB / 241.2 MB, free: 1.582 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.847e-05/0.003211, allocations: 19.94 kB / 241.2 MB, free: 1.562 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.869e-05/0.003249, allocations: 19.94 kB / 241.3 MB, free: 1.543 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.003367, allocations: 63.62 kB / 241.3 MB, free: 1.48 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.068e-05/0.003378, allocations: 4 kB / 241.3 MB, free: 1.477 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.003379, allocations: 0 / 241.3 MB, free: 1.477 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.00339, allocations: 0 / 241.3 MB, free: 1.477 MB / 234.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.0003952/0.003785, allocations: 328 kB / 241.7 MB, free: 1.129 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.003817, allocations: 8.031 kB / 241.7 MB, free: 1.121 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/0.003862, allocations: 24.91 kB / 241.7 MB, free: 1.098 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.004038, allocations: 153.2 kB / 241.8 MB, free: 0.9258 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.004049, allocations: 4.375 kB / 241.8 MB, free: 0.9219 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.004066, allocations: 12.38 kB / 241.9 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.004285, allocations: 155.5 kB / 242 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.004293, allocations: 192 / 242 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.004303, allocations: 8.125 kB / 242 MB, free: 0.7383 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.004311, allocations: 4 kB / 242 MB, free: 0.7344 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.803e-05/0.004339, allocations: 15.64 kB / 242 MB, free: 0.7227 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.154e-05/0.00441, allocations: 72.94 kB / 242.1 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.004544, allocations: 70.47 kB / 242.2 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.315e-05/0.004598, allocations: 36.84 kB / 242.2 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/0.004606, allocations: 8 kB / 242.2 MB, free: 0.5117 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.004628, allocations: 34.56 kB / 242.2 MB, free: 480 kB / 234.7 MB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.00463, allocations: 0 / 242.2 MB, free: 480 kB / 234.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001515/0.004781, allocations: 89.59 kB / 242.3 MB, free: 384 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.004826, allocations: 63.62 kB / 242.4 MB, free: 308 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.642e-05/0.004913, allocations: 150.6 kB / 242.5 MB, free: 144 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.004924, allocations: 25.7 kB / 242.6 MB, free: 112 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.855e-05/0.004953, allocations: 88.45 kB / 242.7 MB, free: 16 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.192e-05/0.004965, allocations: 4 kB / 242.7 MB, free: 12 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/0.005012, allocations: 25.66 kB / 242.7 MB, free: 15.98 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.078e-05/0.005092, allocations: 318.8 kB / 243 MB, free: 15.66 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.175e-06/0.0051, allocations: 4 kB / 243 MB, free: 15.66 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.77e-05/0.005118, allocations: 21.64 kB / 243 MB, free: 15.63 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.727e-05/0.005145, allocations: 17.66 kB / 243 MB, free: 15.61 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.005148, allocations: 0 / 243 MB, free: 15.61 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.954e-05/0.005207, allocations: 41.69 kB / 243.1 MB, free: 15.56 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.00522, allocations: 8 kB / 243.1 MB, free: 15.55 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.005224, allocations: 0 / 243.1 MB, free: 15.55 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.005236, allocations: 4.062 kB / 243.1 MB, free: 15.55 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.994e-05/0.005286, allocations: 15.88 kB / 243.1 MB, free: 15.53 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.005289, allocations: 0 / 243.1 MB, free: 15.53 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.023e-05/0.005309, allocations: 7.984 kB / 243.1 MB, free: 15.52 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.005316, allocations: 8 kB / 243.1 MB, free: 15.52 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: 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 6.368e-05/0.005379, allocations: 112.7 kB / 243.2 MB, free: 15.39 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.958e-05/0.005459, allocations: 76.62 kB / 243.3 MB, free: 15.32 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.846e-05/0.005498, allocations: 17.12 kB / 243.3 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.005501, allocations: 3.984 kB / 243.3 MB, free: 15.29 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.005503, allocations: 3.938 kB / 243.3 MB, free: 15.29 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.005506, allocations: 4 kB / 243.3 MB, free: 15.29 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.839e-05/0.005575, allocations: 85.78 kB / 243.4 MB, free: 15.18 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.005576, allocations: 0 / 243.4 MB, free: 15.18 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.192e-05/0.005668, allocations: 31.92 kB / 243.4 MB, free: 15.15 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/0.005707, allocations: 15.94 kB / 243.5 MB, free: 15.14 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.005709, allocations: 0 / 243.5 MB, free: 15.14 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.005716, allocations: 4 kB / 243.5 MB, free: 15.13 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.005719, allocations: 4 kB / 243.5 MB, free: 15.13 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.005723, allocations: 7.922 kB / 243.5 MB, free: 15.12 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.302e-05/0.005766, allocations: 53.17 kB / 243.5 MB, free: 15.05 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.005785, allocations: 4 kB / 243.5 MB, free: 15.05 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.978e-05/0.005805, allocations: 11.98 kB / 243.5 MB, free: 15.04 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-06/0.005808, allocations: 0 / 243.5 MB, free: 15.04 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.005813, allocations: 3.938 kB / 243.6 MB, free: 15.03 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.502e-05/0.005848, allocations: 43.94 kB / 243.6 MB, free: 14.99 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005848, allocations: 0 / 243.6 MB, free: 14.99 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001603/0.006008, allocations: 12 kB / 243.6 MB, free: 14.98 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: 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 7.559e-05/0.006084, allocations: 80.42 kB / 243.7 MB, free: 14.89 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.053e-05/0.006165, allocations: 32.78 kB / 243.7 MB, free: 14.86 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.006169, allocations: 4.188 kB / 243.7 MB, free: 14.85 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.00617, allocations: 4 kB / 243.7 MB, free: 14.85 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.006424, allocations: 150.3 kB / 243.9 MB, free: 14.68 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002936/0.006717, allocations: 228.8 kB / 244.1 MB, free: 14.43 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.422e-05/0.006762, allocations: 76.17 kB / 244.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.66e-05/0.006778, allocations: 0.5 kB / 244.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.253e-05/0.006841, allocations: 63.36 kB / 244.2 MB, free: 14.27 MB / 250.7 MB Notification: Performance of SimCode: time 6.91e-07/0.006841, allocations: 0 / 244.2 MB, free: 14.27 MB / 250.7 MB Notification: Performance of Templates: time 0.003159/0.01, allocations: 1.071 MB / 245.3 MB, free: 13.23 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockVectorized/AssignClockVectorized.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.201703390106559]