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.001653/0.001653, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002078/0.002078, allocations: 212.1 kB / 23.73 MB, free: 4.523 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 / 257.5 MB, free: 7.801 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.00154/0.00154, allocations: 51.92 kB / 378.2 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2777, allocations: 53.36 MB / 431.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002342/0.28, allocations: 0.9141 MB / 432.5 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004126/0.2804, allocations: 143.5 kB / 432.6 MB, free: 5.668 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.2805, allocations: 7.938 kB / 432.6 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.2807, allocations: 11.86 kB / 432.6 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.2808, allocations: 15.91 kB / 432.7 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.281, allocations: 51.89 kB / 432.7 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.2812, allocations: 67.77 kB / 432.8 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.2813, allocations: 27.98 kB / 432.8 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.536e-05/0.2813, allocations: 27.86 kB / 432.8 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.855e-05/0.2814, allocations: 39.83 kB / 432.9 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.2815, allocations: 8 kB / 432.9 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.402e-05/0.2815, allocations: 4 kB / 432.9 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.024e-05/0.2815, allocations: 35.8 kB / 432.9 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.457e-05/0.2816, allocations: 35.73 kB / 432.9 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.2818, allocations: 97.81 kB / 433 MB, free: 5.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2818, allocations: 4 kB / 433 MB, free: 5.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2818, allocations: 0 / 433 MB, free: 5.246 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.2818, allocations: 0 / 433 MB, free: 5.246 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.0005411/0.2823, allocations: 344.5 kB / 433.4 MB, free: 4.879 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.2824, allocations: 8.031 kB / 433.4 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.153e-05/0.2824, allocations: 16.84 kB / 433.4 MB, free: 4.855 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.2827, allocations: 154.3 kB / 433.6 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.2827, allocations: 8.375 kB / 433.6 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.2827, allocations: 8.375 kB / 433.6 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004983/0.2832, allocations: 247.3 kB / 433.8 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.2832, allocations: 192 / 433.8 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.2832, allocations: 3.938 kB / 433.8 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.2832, allocations: 4 kB / 433.8 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.901e-05/0.2833, allocations: 47.97 kB / 433.9 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001792/0.2835, allocations: 129.2 kB / 434 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.2838, allocations: 145.1 kB / 434.1 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.2839, allocations: 80.81 kB / 434.2 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.2839, allocations: 4 kB / 434.2 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.284, allocations: 30.56 kB / 434.2 MB, free: 3.926 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.284, allocations: 0 / 434.2 MB, free: 3.926 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003544/0.2843, allocations: 185.7 kB / 434.4 MB, free: 3.738 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/0.2844, allocations: 62.5 kB / 434.5 MB, free: 3.668 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.2846, allocations: 171.4 kB / 434.7 MB, free: 3.496 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.2846, allocations: 25.7 kB / 434.7 MB, free: 3.465 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.042e-05/0.2847, allocations: 96.45 kB / 434.8 MB, free: 3.363 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.2847, allocations: 15.95 kB / 434.8 MB, free: 3.348 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.766e-05/0.2847, allocations: 37.7 kB / 434.8 MB, free: 3.305 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.2849, allocations: 322.8 kB / 435.1 MB, free: 2.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.012e-05/0.2849, allocations: 19.98 kB / 435.2 MB, free: 2.961 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.2851, allocations: 125.7 kB / 435.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.2853, allocations: 149.5 kB / 435.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2853, allocations: 0 / 435.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002495/0.2855, allocations: 157.3 kB / 435.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.2856, allocations: 8 kB / 435.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.2856, allocations: 7.938 kB / 435.6 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.2856, allocations: 7.938 kB / 435.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.2857, allocations: 32.48 kB / 435.6 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.2857, allocations: 15.94 kB / 435.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.279e-05/0.2858, allocations: 15.88 kB / 435.7 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.2858, allocations: 12 kB / 435.7 MB, free: 2.336 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.0001492/0.286, allocations: 146.5 kB / 435.8 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002074/0.2862, allocations: 137.5 kB / 436 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.599e-05/0.2862, allocations: 21.12 kB / 436 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.2862, allocations: 3.938 kB / 436 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.2862, allocations: 4 kB / 436 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2862, allocations: 4 kB / 436 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.2864, allocations: 125.2 kB / 436.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2864, allocations: 0 / 436.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.2865, allocations: 27.92 kB / 436.1 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2865, allocations: 4 kB / 436.1 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.2865, allocations: 0 / 436.1 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2865, allocations: 0 / 436.1 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.2865, allocations: 3.938 kB / 436.2 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.2868, allocations: 173 kB / 436.3 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-05/0.2868, allocations: 27.89 kB / 436.3 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.2869, allocations: 4 kB / 436.4 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.39e-05/0.2869, allocations: 8 kB / 436.4 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-06/0.2869, allocations: 3.938 kB / 436.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.2869, allocations: 4 kB / 436.4 MB, free: 1.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001043/0.287, allocations: 119.2 kB / 436.5 MB, free: 1.473 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.287, allocations: 0 / 436.5 MB, free: 1.473 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.2873, allocations: 20 kB / 436.5 MB, free: 1.453 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.0001411/0.2874, allocations: 103.2 kB / 436.6 MB, free: 1.344 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002156/0.2876, allocations: 103.8 kB / 436.7 MB, free: 1.242 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2876, allocations: 3.938 kB / 436.7 MB, free: 1.238 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.2876, allocations: 0 / 436.7 MB, free: 1.238 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003931/0.288, allocations: 90.72 kB / 436.8 MB, free: 1.152 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004512/0.2885, allocations: 258.2 kB / 437.1 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.2886, allocations: 110 kB / 437.2 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.584e-05/0.2886, allocations: 5.094 kB / 437.2 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.863e-05/0.2887, allocations: 27.36 kB / 437.2 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2887, allocations: 3.938 kB / 437.2 MB, free: 0.707 MB / 334.1 MB Notification: Performance of Templates: time 0.004431/0.2931, allocations: 1.348 MB / 438.5 MB, free: 15.39 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 -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.636330842040479]