Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.002085/0.002085, 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.003709/0.003709, allocations: 210.9 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.767/1.767, allocations: 230.6 MB / 258.2 MB, free: 7.75 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.IntegerSignals.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.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002266/0.002266, allocations: 47.94 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3788, allocations: 53.36 MB / 432.3 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.003406/0.3822, allocations: 0.9168 MB / 433.2 MB, free: 5.973 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005948/0.3828, allocations: 143.5 kB / 433.4 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.3829, allocations: 0 / 433.4 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001715/0.3831, allocations: 15.86 kB / 433.4 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.3833, allocations: 19.81 kB / 433.4 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.3836, allocations: 47.88 kB / 433.5 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.3838, allocations: 67.78 kB / 433.5 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002083/0.384, allocations: 30.92 kB / 433.6 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.124e-05/0.3841, allocations: 27.86 kB / 433.6 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.3842, allocations: 39.84 kB / 433.6 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.3843, allocations: 4 kB / 433.6 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.685e-05/0.3843, allocations: 8 kB / 433.6 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.931e-05/0.3844, allocations: 31.84 kB / 433.7 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.443e-05/0.3844, allocations: 39.78 kB / 433.7 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.3847, allocations: 99.45 kB / 433.8 MB, free: 5.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.3847, allocations: 0 / 433.8 MB, free: 5.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.519e-06/0.3847, allocations: 0 / 433.8 MB, free: 5.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.3847, allocations: 0 / 433.8 MB, free: 5.41 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.0008774/0.3856, allocations: 341.7 kB / 434.1 MB, free: 5.043 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.788e-05/0.3856, allocations: 12.03 kB / 434.1 MB, free: 5.031 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.226e-05/0.3857, allocations: 20.84 kB / 434.2 MB, free: 5.012 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00055/0.3863, allocations: 146.3 kB / 434.3 MB, free: 4.844 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.3863, allocations: 8.375 kB / 434.3 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.3863, allocations: 8.375 kB / 434.3 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006483/0.387, allocations: 242 kB / 434.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.387, allocations: 192 / 434.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.387, allocations: 11.94 kB / 434.6 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.387, allocations: 0 / 434.6 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.3871, allocations: 51.91 kB / 434.6 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002235/0.3873, allocations: 129.2 kB / 434.8 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000355/0.3877, allocations: 138.9 kB / 434.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.3878, allocations: 84.75 kB / 435 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.3879, allocations: 0 / 435 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/0.3879, allocations: 34.56 kB / 435 MB, free: 4.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.3879, allocations: 4 kB / 435 MB, free: 4.086 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006104/0.3885, allocations: 180.8 kB / 435.2 MB, free: 3.906 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.3886, allocations: 59.41 kB / 435.2 MB, free: 3.836 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/0.3889, allocations: 167.8 kB / 435.4 MB, free: 3.664 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.891e-05/0.3889, allocations: 29.7 kB / 435.4 MB, free: 3.629 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.524e-05/0.389, allocations: 88.47 kB / 435.5 MB, free: 3.535 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.127e-05/0.389, allocations: 15.94 kB / 435.5 MB, free: 3.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.395e-05/0.3891, allocations: 45.64 kB / 435.6 MB, free: 3.469 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002197/0.3893, allocations: 318.8 kB / 435.9 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.601e-05/0.3894, allocations: 23.98 kB / 435.9 MB, free: 3.125 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.3896, allocations: 113.7 kB / 436 MB, free: 2.965 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002312/0.3898, allocations: 157.5 kB / 436.2 MB, free: 2.762 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.3898, allocations: 4 kB / 436.2 MB, free: 2.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003216/0.3901, allocations: 165.6 kB / 436.3 MB, free: 2.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.3901, allocations: 4 kB / 436.4 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.3902, allocations: 7.984 kB / 436.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.469e-05/0.3902, allocations: 7.938 kB / 436.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.3904, allocations: 39.92 kB / 436.4 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.3904, allocations: 4 kB / 436.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.657e-05/0.3904, allocations: 7.953 kB / 436.4 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.3905, allocations: 15.94 kB / 436.4 MB, free: 2.504 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: 18 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,unitDelay1.y,$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 (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.0002073/0.3907, allocations: 150.6 kB / 436.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002324/0.3909, allocations: 137.5 kB / 436.7 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.366e-05/0.391, allocations: 25.11 kB / 436.7 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/0.391, allocations: 7.938 kB / 436.7 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.391, allocations: 0 / 436.7 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.391, allocations: 0 / 436.7 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.3911, allocations: 129.2 kB / 436.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3911, allocations: 0 / 436.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.3913, allocations: 27.98 kB / 436.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3913, allocations: 0 / 436.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.3913, allocations: 8 kB / 436.9 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.3913, allocations: 4 kB / 436.9 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.3913, allocations: 3.938 kB / 436.9 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.3916, allocations: 168.9 kB / 437.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.634e-05/0.3917, allocations: 31.88 kB / 437.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.3917, allocations: 0 / 437.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.494e-05/0.3917, allocations: 4 kB / 437.1 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.048e-05/0.3917, allocations: 7.938 kB / 437.1 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.3917, allocations: 0 / 437.1 MB, free: 1.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001354/0.3919, allocations: 122.9 kB / 437.2 MB, free: 1.633 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3919, allocations: 0 / 437.2 MB, free: 1.633 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002733/0.3922, allocations: 20 kB / 437.3 MB, free: 1.613 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: 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.0001966/0.3924, allocations: 111.2 kB / 437.4 MB, free: 1.496 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002724/0.3926, allocations: 100.6 kB / 437.5 MB, free: 1.398 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.3926, allocations: 0 / 437.5 MB, free: 1.398 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.3926, allocations: 128 / 437.5 MB, free: 1.398 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005259/0.3932, allocations: 102.5 kB / 437.6 MB, free: 1.301 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005895/0.3937, allocations: 253.8 kB / 437.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/0.3939, allocations: 109 kB / 437.9 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.269e-05/0.394, allocations: 9.078 kB / 437.9 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.08e-05/0.394, allocations: 15.44 kB / 437.9 MB, free: 0.875 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.394, allocations: 7.938 kB / 438 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of Templates: time 0.005438/0.3995, allocations: 1.341 MB / 439.3 MB, free: 15.55 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 5.870817772010923]