Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001876/0.001876, allocations: 99.86 kB / 20.96 MB, free: 3.461 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.002002/0.002002, allocations: 149.1 kB / 24.26 MB, free: 168 kB / 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 1.557/1.557, allocations: 173.3 MB / 200.8 MB, free: 9.324 MB / 186.7 MB " [Timeout remaining time 178] 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.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 267.3 MB, free: 6.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.956e-05/3.131e-05, allocations: 10.25 kB / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002735/0.002766, allocations: 0.9164 MB / 268.2 MB, free: 5.828 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004603/0.003227, allocations: 151.4 kB / 268.4 MB, free: 5.68 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.798e-05/0.003314, allocations: 4 kB / 268.4 MB, free: 5.676 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.003438, allocations: 11.86 kB / 268.4 MB, free: 5.664 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.003572, allocations: 23.81 kB / 268.4 MB, free: 5.641 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.003789, allocations: 43.88 kB / 268.5 MB, free: 5.598 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.003932, allocations: 63.78 kB / 268.5 MB, free: 5.535 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.004058, allocations: 35.83 kB / 268.6 MB, free: 5.5 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.783e-05/0.004126, allocations: 35.89 kB / 268.6 MB, free: 5.465 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.161e-05/0.004218, allocations: 31.89 kB / 268.6 MB, free: 5.434 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.004244, allocations: 4 kB / 268.6 MB, free: 5.43 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.902e-05/0.004263, allocations: 8 kB / 268.6 MB, free: 5.422 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.617e-05/0.004339, allocations: 39.78 kB / 268.7 MB, free: 5.383 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.423e-05/0.004394, allocations: 23.92 kB / 268.7 MB, free: 5.359 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.004571, allocations: 95.67 kB / 268.8 MB, free: 5.266 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.004574, allocations: 0 / 268.8 MB, free: 5.266 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.004575, allocations: 0 / 268.8 MB, free: 5.266 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.004581, allocations: 0 / 268.8 MB, free: 5.266 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.0006551/0.005236, allocations: 451.6 kB / 269.2 MB, free: 4.785 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.005281, allocations: 12.92 kB / 269.2 MB, free: 4.773 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.274e-05/0.005353, allocations: 16.89 kB / 269.3 MB, free: 4.758 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.005649, allocations: 160.3 kB / 269.4 MB, free: 4.574 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.005668, allocations: 12.38 kB / 269.4 MB, free: 4.562 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.005686, allocations: 8.375 kB / 269.4 MB, free: 4.555 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004259/0.006112, allocations: 201.2 kB / 269.6 MB, free: 4.344 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.006122, allocations: 192 / 269.6 MB, free: 4.344 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.006133, allocations: 384 / 269.6 MB, free: 4.344 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.006141, allocations: 4.375 kB / 269.6 MB, free: 4.34 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.117e-05/0.006222, allocations: 23.92 kB / 269.7 MB, free: 4.316 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001929/0.006415, allocations: 144.6 kB / 269.8 MB, free: 4.141 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.006679, allocations: 115 kB / 269.9 MB, free: 4.016 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.006804, allocations: 67.97 kB / 270 MB, free: 3.945 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.006819, allocations: 0 / 270 MB, free: 3.945 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.006857, allocations: 41.39 kB / 270 MB, free: 3.895 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 8.72e-07/0.006858, allocations: 0 / 270 MB, free: 3.895 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003216/0.00718, allocations: 133.7 kB / 270.1 MB, free: 3.758 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.279e-05/0.007252, allocations: 67.41 kB / 270.2 MB, free: 3.68 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.007472, allocations: 237 kB / 270.4 MB, free: 3.434 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.007492, allocations: 25.7 kB / 270.5 MB, free: 3.402 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.672e-05/0.007589, allocations: 143.2 kB / 270.6 MB, free: 3.254 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.007604, allocations: 8 kB / 270.6 MB, free: 3.246 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.06e-05/0.007665, allocations: 39.31 kB / 270.7 MB, free: 3.199 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000259/0.007924, allocations: 0.4923 MB / 271.1 MB, free: 2.695 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.934e-05/0.007943, allocations: 4 kB / 271.2 MB, free: 2.691 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.241e-05/0.007975, allocations: 23.38 kB / 271.2 MB, free: 2.66 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.868e-05/0.008024, allocations: 31.31 kB / 271.2 MB, free: 2.621 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.008026, allocations: 0 / 271.2 MB, free: 2.621 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001048/0.008131, allocations: 57.62 kB / 271.3 MB, free: 2.559 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.008145, allocations: 12.06 kB / 271.3 MB, free: 2.547 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.008149, allocations: 0 / 271.3 MB, free: 2.547 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.008163, allocations: 0 / 271.3 MB, free: 2.547 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.628e-05/0.008219, allocations: 8 kB / 271.3 MB, free: 2.539 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.008224, allocations: 0 / 271.3 MB, free: 2.539 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.226e-05/0.008246, allocations: 7.891 kB / 271.3 MB, free: 2.531 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.008251, allocations: 0 / 271.3 MB, free: 2.531 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 0.0001335/0.008384, allocations: 168.6 kB / 271.5 MB, free: 2.355 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.008553, allocations: 108.5 kB / 271.6 MB, free: 2.246 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.504e-05/0.008608, allocations: 17.12 kB / 271.6 MB, free: 2.23 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.00861, allocations: 7.938 kB / 271.6 MB, free: 2.223 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.008613, allocations: 0 / 271.6 MB, free: 2.223 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.008622, allocations: 7.922 kB / 271.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.008766, allocations: 152.5 kB / 271.7 MB, free: 2.031 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.008768, allocations: 0 / 271.7 MB, free: 2.031 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.008895, allocations: 27.98 kB / 271.8 MB, free: 2.004 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.008897, allocations: 0 / 271.8 MB, free: 2.004 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.008909, allocations: 4 kB / 271.8 MB, free: 2 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.00891, allocations: 0 / 271.8 MB, free: 2 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.008912, allocations: 0 / 271.8 MB, free: 2 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.009155, allocations: 164.1 kB / 271.9 MB, free: 1.816 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.392e-05/0.009229, allocations: 35.89 kB / 272 MB, free: 1.781 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.009249, allocations: 96 / 272 MB, free: 1.781 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.515e-05/0.009284, allocations: 4 kB / 272 MB, free: 1.777 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-06/0.00929, allocations: 3.984 kB / 272 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.009298, allocations: 4 kB / 272 MB, free: 1.77 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001267/0.009425, allocations: 159.2 kB / 272.1 MB, free: 1.613 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009425, allocations: 0 / 272.1 MB, free: 1.613 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001917/0.009617, allocations: 12 kB / 272.1 MB, free: 1.602 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,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.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 0.000142/0.009759, allocations: 111.2 kB / 272.3 MB, free: 1.484 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001496/0.009908, allocations: 55.55 kB / 272.3 MB, free: 1.426 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.00991, allocations: 0 / 272.3 MB, free: 1.426 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.009911, allocations: 0 / 272.3 MB, free: 1.426 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.01029, allocations: 81.47 kB / 272.4 MB, free: 1.352 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004607/0.01075, allocations: 245.6 kB / 272.6 MB, free: 1.082 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.01087, allocations: 104.5 kB / 272.7 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.077e-05/0.0109, allocations: 4.625 kB / 272.7 MB, free: 0.957 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.132e-05/0.01094, allocations: 12.5 kB / 272.7 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01094, allocations: 0 / 272.7 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of Templates: time 0.004403/0.01534, allocations: 1.155 MB / 273.9 MB, free: 15.81 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.366535198059864]