Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.007685/0.007685, allocations: 105.9 kB / 21.98 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001978/0.001978, allocations: 216.4 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.514/1.514, allocations: 230.6 MB / 259 MB, free: 8.02 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002351/0.002351, allocations: 60.77 kB / 379.8 MB, free: 2.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2784, allocations: 53.36 MB / 433.2 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002271/0.2807, allocations: 0.9169 MB / 434.1 MB, free: 6.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003809/0.2811, allocations: 151.5 kB / 434.2 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.463e-05/0.2811, allocations: 7.938 kB / 434.2 MB, free: 5.871 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001512/0.2813, allocations: 11.86 kB / 434.2 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.2814, allocations: 15.86 kB / 434.3 MB, free: 5.844 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.2816, allocations: 47.89 kB / 434.3 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.2817, allocations: 63.83 kB / 434.4 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.2818, allocations: 27.98 kB / 434.4 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.445e-05/0.2819, allocations: 39.78 kB / 434.4 MB, free: 5.668 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.326e-05/0.282, allocations: 35.84 kB / 434.5 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.282, allocations: 4 kB / 434.5 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.556e-05/0.282, allocations: 8 kB / 434.5 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.8e-05/0.2821, allocations: 31.86 kB / 434.5 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.558e-05/0.2821, allocations: 39.73 kB / 434.6 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.2823, allocations: 92.78 kB / 434.6 MB, free: 5.465 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.2823, allocations: 7.984 kB / 434.7 MB, free: 5.457 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2823, allocations: 0 / 434.7 MB, free: 5.457 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.2823, allocations: 0 / 434.7 MB, free: 5.457 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.0004698/0.2828, allocations: 345.7 kB / 435 MB, free: 5.086 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.2828, allocations: 15.97 kB / 435 MB, free: 5.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.2828, allocations: 12.84 kB / 435 MB, free: 5.059 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.283, allocations: 150.4 kB / 435.2 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.283, allocations: 4.375 kB / 435.2 MB, free: 4.883 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.2831, allocations: 8.375 kB / 435.2 MB, free: 4.875 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004081/0.2835, allocations: 250.1 kB / 435.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.2835, allocations: 192 / 435.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.2835, allocations: 7.938 kB / 435.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2835, allocations: 8 kB / 435.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.508e-05/0.2836, allocations: 43.97 kB / 435.5 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.2837, allocations: 168.6 kB / 435.6 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.284, allocations: 142.8 kB / 435.8 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.2841, allocations: 80.84 kB / 435.9 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.2841, allocations: 0 / 435.9 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.2842, allocations: 38.5 kB / 435.9 MB, free: 4.078 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.002e-06/0.2842, allocations: 4 kB / 435.9 MB, free: 4.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003139/0.2845, allocations: 181.7 kB / 436.1 MB, free: 3.891 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/0.2845, allocations: 59.41 kB / 436.1 MB, free: 3.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.2847, allocations: 166.7 kB / 436.3 MB, free: 3.652 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.2847, allocations: 25.7 kB / 436.3 MB, free: 3.621 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.2847, allocations: 92.45 kB / 436.4 MB, free: 3.523 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.2848, allocations: 11.95 kB / 436.4 MB, free: 3.512 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-05/0.2848, allocations: 41.7 kB / 436.5 MB, free: 3.465 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.285, allocations: 326.8 kB / 436.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.846e-05/0.285, allocations: 19.98 kB / 436.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.2851, allocations: 128.6 kB / 436.9 MB, free: 2.945 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.2853, allocations: 149.5 kB / 437.1 MB, free: 2.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2853, allocations: 0 / 437.1 MB, free: 2.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002409/0.2856, allocations: 161.7 kB / 437.2 MB, free: 2.586 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.2856, allocations: 8 kB / 437.2 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.2856, allocations: 7.938 kB / 437.3 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.2856, allocations: 4 kB / 437.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.2857, allocations: 35.92 kB / 437.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.2857, allocations: 7.984 kB / 437.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.489e-05/0.2858, allocations: 11.95 kB / 437.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.2858, allocations: 8 kB / 437.3 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.0001296/0.2859, allocations: 158.4 kB / 437.5 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/0.2861, allocations: 133.5 kB / 437.6 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.466e-05/0.2862, allocations: 28.98 kB / 437.6 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2862, allocations: 0 / 437.6 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.2862, allocations: 0 / 437.6 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.2862, allocations: 0 / 437.6 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.2863, allocations: 164.7 kB / 437.8 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2863, allocations: 0 / 437.8 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.2864, allocations: 31.92 kB / 437.8 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2864, allocations: 0 / 437.8 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.2864, allocations: 11.94 kB / 437.8 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.2864, allocations: 3.984 kB / 437.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2864, allocations: 4 kB / 437.8 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002188/0.2867, allocations: 156.9 kB / 438 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.514e-05/0.2867, allocations: 31.89 kB / 438 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.2868, allocations: 3.938 kB / 438 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.724e-05/0.2868, allocations: 12 kB / 438 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.683e-06/0.2868, allocations: 0 / 438 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-06/0.2868, allocations: 8 kB / 438.1 MB, free: 1.695 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001016/0.2869, allocations: 123.2 kB / 438.2 MB, free: 1.574 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2869, allocations: 0 / 438.2 MB, free: 1.574 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002303/0.2871, allocations: 16 kB / 438.2 MB, free: 1.559 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.0001111/0.2872, allocations: 107.2 kB / 438.3 MB, free: 1.445 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002144/0.2875, allocations: 108 kB / 438.4 MB, free: 1.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2875, allocations: 0 / 438.4 MB, free: 1.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-07/0.2875, allocations: 0 / 438.4 MB, free: 1.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.2879, allocations: 87.7 kB / 438.5 MB, free: 1.262 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004552/0.2883, allocations: 287.8 kB / 438.8 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.2887, allocations: 0.7245 MB / 439.5 MB, free: 200 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.783e-05/0.2887, allocations: 15.44 kB / 439.5 MB, free: 184 kB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2887, allocations: 0 / 439.5 MB, free: 184 kB / 334.1 MB Notification: Performance of Templates: time 0.003302/0.292, allocations: 1.371 MB / 440.9 MB, free: 14.82 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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: 7.080011904006824]