Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001162/0.001162, allocations: 109.1 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001218/0.001218, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 59.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2415, allocations: 50.54 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.00213/0.2436, allocations: 0.8978 MB / 410.8 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003517/0.244, allocations: 131.6 kB / 411 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.237e-05/0.2441, allocations: 4 kB / 411 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.014e-05/0.2442, allocations: 11.88 kB / 411 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.163e-05/0.2443, allocations: 19.86 kB / 411 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.2445, allocations: 35.95 kB / 411 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.2447, allocations: 67.77 kB / 411.1 MB, free: 448 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.2448, allocations: 48.19 kB / 411.1 MB, free: 396 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.58e-05/0.2449, allocations: 23.91 kB / 411.2 MB, free: 372 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.677e-05/0.2449, allocations: 39.78 kB / 411.2 MB, free: 332 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.245, allocations: 4 kB / 411.2 MB, free: 328 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.933e-05/0.245, allocations: 8 kB / 411.2 MB, free: 320 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.616e-05/0.2451, allocations: 19.92 kB / 411.2 MB, free: 300 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.27e-05/0.2451, allocations: 39.73 kB / 411.3 MB, free: 260 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.2453, allocations: 79.64 kB / 411.3 MB, free: 180 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2453, allocations: 4 kB / 411.4 MB, free: 176 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.2453, allocations: 0 / 411.4 MB, free: 176 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.2453, allocations: 0 / 411.4 MB, free: 176 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.000411/0.2457, allocations: 388.3 kB / 411.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.2458, allocations: 16.02 kB / 411.7 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.675e-05/0.2458, allocations: 16.75 kB / 411.8 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.2461, allocations: 210.4 kB / 412 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.2461, allocations: 4.375 kB / 412 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.2461, allocations: 12.31 kB / 412 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003925/0.2465, allocations: 225.6 kB / 412.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.2465, allocations: 192 / 412.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.2465, allocations: 7.938 kB / 412.2 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.2466, allocations: 0 / 412.2 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.746e-05/0.2466, allocations: 35.98 kB / 412.2 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001671/0.2468, allocations: 185.6 kB / 412.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.247, allocations: 122.7 kB / 412.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.2472, allocations: 92.36 kB / 412.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.2472, allocations: 0 / 412.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.2472, allocations: 34.56 kB / 412.7 MB, free: 14.69 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 2.524e-06/0.2472, allocations: 4 kB / 412.7 MB, free: 14.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.000287/0.2475, allocations: 157.3 kB / 412.8 MB, free: 14.53 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.008e-05/0.2476, allocations: 71.33 kB / 412.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.2477, allocations: 137.7 kB / 413 MB, free: 14.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.2477, allocations: 29.7 kB / 413.1 MB, free: 14.26 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.62e-05/0.2478, allocations: 88.45 kB / 413.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.2478, allocations: 8 kB / 413.2 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.146e-05/0.2479, allocations: 41.7 kB / 413.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.248, allocations: 322.8 kB / 413.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.84e-05/0.2481, allocations: 23.89 kB / 413.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.2482, allocations: 120.8 kB / 413.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.2483, allocations: 153.5 kB / 413.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2483, allocations: 0 / 413.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002127/0.2486, allocations: 153.7 kB / 414 MB, free: 13.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.2486, allocations: 11.97 kB / 414 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2486, allocations: 4 kB / 414 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/0.2486, allocations: 8 kB / 414 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.538e-05/0.2487, allocations: 15.92 kB / 414 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.2487, allocations: 4 kB / 414 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.573e-05/0.2488, allocations: 4 kB / 414 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.2488, allocations: 8 kB / 414 MB, free: 13.19 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 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],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.0001297/0.2489, allocations: 153.7 kB / 414.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/0.2491, allocations: 121.4 kB / 414.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.75e-05/0.2491, allocations: 13.19 kB / 414.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.2492, allocations: 7.984 kB / 414.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2492, allocations: 0 / 414.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2492, allocations: 0 / 414.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.2493, allocations: 185.6 kB / 414.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2493, allocations: 3.938 kB / 414.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.314e-05/0.2493, allocations: 11.92 kB / 414.5 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.2494, allocations: 3.938 kB / 414.5 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.2494, allocations: 7.938 kB / 414.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.2494, allocations: 8 kB / 414.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2494, allocations: 4 kB / 414.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.2496, allocations: 148 kB / 414.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.682e-05/0.2497, allocations: 101 kB / 414.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.2497, allocations: 7.938 kB / 414.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.491e-05/0.2497, allocations: 4 kB / 414.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-06/0.2497, allocations: 0 / 414.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.2498, allocations: 4 kB / 414.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.524e-05/0.2498, allocations: 111.2 kB / 414.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2498, allocations: 3.938 kB / 414.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002344/0.2501, allocations: 16 kB / 414.9 MB, free: 12.19 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,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.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.0001119/0.2502, allocations: 107.2 kB / 415 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000196/0.2504, allocations: 96.41 kB / 415.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2504, allocations: 0 / 415.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.2504, allocations: 3.938 kB / 415.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.2508, allocations: 82.12 kB / 415.2 MB, free: 11.9 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003871/0.2512, allocations: 259.2 kB / 415.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.2515, allocations: 0.7123 MB / 416.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/0.2515, allocations: 11.81 kB / 416.2 MB, free: 10.87 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2515, allocations: 4 kB / 416.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of Templates: time 0.002697/0.2542, allocations: 1.213 MB / 417.4 MB, free: 9.652 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches