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.001388/0.001388, allocations: 85.91 kB / 20.68 MB, free: 1.035 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.001437/0.001437, allocations: 164.8 kB / 23.96 MB, free: 4.164 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.475/1.475, allocations: 177.2 MB / 204.3 MB, free: 9.176 MB / 190.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 2.925e-06/2.925e-06, allocations: 1.469 kB / 325.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.639e-05/2.931e-05, allocations: 6.219 kB / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002499/0.002528, allocations: 0.9109 MB / 326 MB, free: 0 / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000505/0.003033, allocations: 143.3 kB / 326.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.003142, allocations: 6.469 kB / 326.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000121/0.003263, allocations: 16.88 kB / 326.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.003411, allocations: 16.64 kB / 326.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.00366, allocations: 46.58 kB / 326.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.003824, allocations: 68.73 kB / 326.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.00398, allocations: 31.48 kB / 326.3 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.767e-05/0.004067, allocations: 38.11 kB / 326.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.00417, allocations: 33.2 kB / 326.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.074e-05/0.004211, allocations: 5.281 kB / 326.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.892e-05/0.00423, allocations: 6.156 kB / 326.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.339e-05/0.004303, allocations: 31.61 kB / 326.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.95e-05/0.004363, allocations: 23.92 kB / 326.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.004567, allocations: 94.92 kB / 326.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.004572, allocations: 2.156 kB / 326.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004573, allocations: 0 / 326.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.004587, allocations: 0 / 326.5 MB, free: 15.71 MB / 302.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.0006369/0.005224, allocations: 344.9 kB / 326.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.005268, allocations: 10.08 kB / 326.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.09e-05/0.005338, allocations: 15.44 kB / 326.9 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.005638, allocations: 150.7 kB / 327 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.005651, allocations: 8.844 kB / 327 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.005672, allocations: 5 kB / 327.1 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005461/0.006218, allocations: 249.4 kB / 327.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.006228, allocations: 192 / 327.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.006241, allocations: 1.219 kB / 327.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.006247, allocations: 3.172 kB / 327.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.00635, allocations: 53.69 kB / 327.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001817/0.006531, allocations: 128.9 kB / 327.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/0.006805, allocations: 136.6 kB / 327.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.006942, allocations: 80.53 kB / 327.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.006954, allocations: 10.52 kB / 327.7 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.006988, allocations: 36.3 kB / 327.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.333e-06/0.006989, allocations: 1.375 kB / 327.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003759/0.007365, allocations: 177.3 kB / 327.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/0.007435, allocations: 61.64 kB / 328 MB, free: 14.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.007612, allocations: 176.6 kB / 328.1 MB, free: 14.53 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.007639, allocations: 35.02 kB / 328.2 MB, free: 14.49 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.205e-05/0.007701, allocations: 92.73 kB / 328.3 MB, free: 14.4 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.007719, allocations: 1.859 kB / 328.3 MB, free: 14.4 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.662e-05/0.007765, allocations: 28.69 kB / 328.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.007909, allocations: 322 kB / 328.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.645e-05/0.007926, allocations: 4.016 kB / 328.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.092e-05/0.007957, allocations: 21.12 kB / 328.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.329e-05/0.008, allocations: 20.25 kB / 328.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.008002, allocations: 0 / 328.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001073/0.008109, allocations: 59.22 kB / 328.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.008129, allocations: 5.594 kB / 328.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.008137, allocations: 0 / 328.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.008155, allocations: 1.094 kB / 328.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.516e-05/0.00821, allocations: 10.28 kB / 328.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.008216, allocations: 0.6094 kB / 328.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.686e-05/0.008243, allocations: 7.375 kB / 328.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.008248, allocations: 0 / 328.7 MB, free: 13.96 MB / 302.1 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.0001162/0.008364, allocations: 130.5 kB / 328.9 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.008572, allocations: 141.9 kB / 329 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.84e-05/0.00862, allocations: 21.31 kB / 329 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.008624, allocations: 2.609 kB / 329 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.00863, allocations: 4 kB / 329 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.008636, allocations: 9.906 kB / 329 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.008755, allocations: 121.4 kB / 329.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.008757, allocations: 0 / 329.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.008881, allocations: 26.59 kB / 329.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.008883, allocations: 1.031 kB / 329.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.008898, allocations: 5.766 kB / 329.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.0089, allocations: 4.938 kB / 329.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.008901, allocations: 1.094 kB / 329.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.009157, allocations: 167.9 kB / 329.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.884e-05/0.009226, allocations: 30.84 kB / 329.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.00925, allocations: 1.344 kB / 329.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.812e-05/0.009288, allocations: 10.23 kB / 329.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-06/0.009292, allocations: 1.062 kB / 329.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/0.009302, allocations: 3.859 kB / 329.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001113/0.009413, allocations: 119.8 kB / 329.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.009413, allocations: 3.938 kB / 329.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000227/0.00964, allocations: 9.938 kB / 329.5 MB, free: 13.39 MB / 302.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.0001637/0.009804, allocations: 115.5 kB / 329.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001703/0.009974, allocations: 62.84 kB / 329.7 MB, free: 13.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.009976, allocations: 0 / 329.7 MB, free: 13.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.61e-07/0.009977, allocations: 0 / 329.7 MB, free: 13.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.01039, allocations: 86.67 kB / 329.8 MB, free: 13.24 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005199/0.01091, allocations: 257.5 kB / 330 MB, free: 13.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.01103, allocations: 101.3 kB / 330.1 MB, free: 12.99 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.874e-05/0.01106, allocations: 3.422 kB / 330.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.01111, allocations: 13.7 kB / 330.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.01111, allocations: 5.188 kB / 330.2 MB, free: 12.97 MB / 302.1 MB Notification: Performance of Templates: time 0.004671/0.01578, allocations: 1.158 MB / 331.3 MB, free: 12.59 MB / 302.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/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: 4.345787290483713]