Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001456/0.001456, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001216/0.001216, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 63.89 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.24, allocations: 50.53 MB / 409.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001987/0.242, allocations: 0.8978 MB / 410.8 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003285/0.2424, allocations: 139.6 kB / 411 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.467e-05/0.2424, allocations: 4 kB / 411 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.2425, allocations: 15.8 kB / 411 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.2427, allocations: 15.92 kB / 411 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.2429, allocations: 47.89 kB / 411 MB, free: 484 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.243, allocations: 71.77 kB / 411.1 MB, free: 412 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.2432, allocations: 47.95 kB / 411.2 MB, free: 364 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.588e-05/0.2432, allocations: 19.92 kB / 411.2 MB, free: 344 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.01e-05/0.2433, allocations: 43.77 kB / 411.2 MB, free: 300 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.2433, allocations: 4 kB / 411.2 MB, free: 296 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.038e-05/0.2434, allocations: 8 kB / 411.2 MB, free: 288 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.324e-05/0.2434, allocations: 27.92 kB / 411.3 MB, free: 260 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.172e-05/0.2435, allocations: 43.67 kB / 411.3 MB, free: 216 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.2436, allocations: 99.52 kB / 411.4 MB, free: 116 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2436, allocations: 4 kB / 411.4 MB, free: 112 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2436, allocations: 4 kB / 411.4 MB, free: 108 kB / 318.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.2436, allocations: 0 / 411.4 MB, free: 108 kB / 318.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.0004651/0.2441, allocations: 404.2 kB / 411.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.2441, allocations: 8.031 kB / 411.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.2442, allocations: 16.75 kB / 411.8 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.2444, allocations: 219.9 kB / 412 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.2444, allocations: 4.375 kB / 412 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.2444, allocations: 8.375 kB / 412 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000413/0.2449, allocations: 241.8 kB / 412.3 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.2449, allocations: 192 / 412.3 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.2449, allocations: 7.938 kB / 412.3 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.2449, allocations: 4 kB / 412.3 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.145e-05/0.245, allocations: 47.91 kB / 412.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.2452, allocations: 197.5 kB / 412.5 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.2454, allocations: 150.9 kB / 412.7 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.2455, allocations: 80.81 kB / 412.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.2455, allocations: 4 kB / 412.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.2456, allocations: 42.5 kB / 412.8 MB, free: 14.54 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.072e-06/0.2456, allocations: 0 / 412.8 MB, free: 14.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002927/0.2459, allocations: 172.8 kB / 413 MB, free: 14.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.2459, allocations: 71.28 kB / 413 MB, free: 14.28 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.2461, allocations: 162.9 kB / 413.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.2461, allocations: 25.7 kB / 413.2 MB, free: 14.08 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.462e-05/0.2461, allocations: 92.47 kB / 413.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.2462, allocations: 19.83 kB / 413.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-05/0.2462, allocations: 41.7 kB / 413.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.575e-05/0.2463, allocations: 318.8 kB / 413.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.809e-05/0.2464, allocations: 27.98 kB / 413.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.063e-05/0.2465, allocations: 121.7 kB / 413.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.2466, allocations: 157.5 kB / 414 MB, free: 13.2 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2466, allocations: 0 / 414 MB, free: 13.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002064/0.2468, allocations: 165.5 kB / 414.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.2469, allocations: 8 kB / 414.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2469, allocations: 7.938 kB / 414.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.2469, allocations: 4 kB / 414.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.247, allocations: 35.92 kB / 414.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.247, allocations: 4 kB / 414.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.552e-05/0.2471, allocations: 11.84 kB / 414.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.2471, allocations: 12 kB / 414.2 MB, free: 12.95 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.0001081/0.2472, allocations: 142 kB / 414.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.2474, allocations: 133.5 kB / 414.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.143e-05/0.2474, allocations: 25.12 kB / 414.5 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.2474, allocations: 0 / 414.5 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2474, allocations: 4 kB / 414.5 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2475, allocations: 0 / 414.5 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.2476, allocations: 193.5 kB / 414.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2476, allocations: 0 / 414.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.2477, allocations: 27.98 kB / 414.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2477, allocations: 4 kB / 414.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.2477, allocations: 11.94 kB / 414.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2477, allocations: 3.938 kB / 414.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2477, allocations: 0 / 414.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.2479, allocations: 168.9 kB / 414.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.024e-05/0.248, allocations: 104.9 kB / 415 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.248, allocations: 3.938 kB / 415 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.423e-05/0.2481, allocations: 8 kB / 415 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-06/0.2481, allocations: 4 kB / 415.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.2481, allocations: 4 kB / 415.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.239e-05/0.2482, allocations: 115.2 kB / 415.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2482, allocations: 3.938 kB / 415.2 MB, free: 11.9 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002289/0.2484, allocations: 16 kB / 415.2 MB, free: 11.89 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.0001125/0.2485, allocations: 122.8 kB / 415.3 MB, free: 11.76 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001729/0.2487, allocations: 99.77 kB / 415.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2487, allocations: 0 / 415.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/0.2487, allocations: 4 kB / 415.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.2491, allocations: 93.06 kB / 415.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003786/0.2495, allocations: 280.8 kB / 415.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.2498, allocations: 0.7239 MB / 416.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.2498, allocations: 15.44 kB / 416.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2498, allocations: 0 / 416.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of Templates: time 0.002647/0.2525, allocations: 1.364 MB / 417.9 MB, free: 9.145 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches