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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001421/0.001421, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 226.8 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000979/0.0009791, allocations: 105.3 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001063/0.001064, allocations: 55.91 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2539, allocations: 50.45 MB / 407.1 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002374/0.2564, allocations: 0.9663 MB / 408 MB, free: 26.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000362/0.2567, allocations: 131.6 kB / 408.1 MB, free: 26.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.2569, allocations: 4 kB / 408.2 MB, free: 26.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.257, allocations: 9.141 kB / 408.2 MB, free: 26.72 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.2571, allocations: 3.938 kB / 408.2 MB, free: 26.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.2574, allocations: 39.89 kB / 408.2 MB, free: 26.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.2575, allocations: 67.84 kB / 408.3 MB, free: 26.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.2577, allocations: 40.14 kB / 408.3 MB, free: 26.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.57e-05/0.2577, allocations: 19.92 kB / 408.3 MB, free: 26.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.149e-05/0.2578, allocations: 31.8 kB / 408.4 MB, free: 26.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.2578, allocations: 8 kB / 408.4 MB, free: 26.51 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.514e-05/0.2578, allocations: 4 kB / 408.4 MB, free: 26.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.91e-05/0.2579, allocations: 27.89 kB / 408.4 MB, free: 26.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.245e-05/0.258, allocations: 39.73 kB / 408.4 MB, free: 26.44 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.2581, allocations: 75.7 kB / 408.5 MB, free: 26.36 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.2581, allocations: 0 / 408.5 MB, free: 26.36 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2581, allocations: 0 / 408.5 MB, free: 26.36 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.2581, allocations: 0 / 408.5 MB, free: 26.36 MB / 298.7 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.0004146/0.2585, allocations: 388.7 kB / 408.9 MB, free: 25.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.2586, allocations: 12.03 kB / 408.9 MB, free: 25.92 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.2586, allocations: 16.78 kB / 408.9 MB, free: 25.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.2588, allocations: 202.9 kB / 409.1 MB, free: 25.67 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.2589, allocations: 8.375 kB / 409.1 MB, free: 25.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.2589, allocations: 12.36 kB / 409.1 MB, free: 25.65 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003494/0.2592, allocations: 218 kB / 409.4 MB, free: 25.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.2593, allocations: 192 / 409.4 MB, free: 25.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.2593, allocations: 11.94 kB / 409.4 MB, free: 25.42 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.2593, allocations: 0 / 409.4 MB, free: 25.42 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.812e-05/0.2594, allocations: 35.97 kB / 409.4 MB, free: 25.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001403/0.2595, allocations: 181.5 kB / 409.6 MB, free: 25.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.2597, allocations: 141.8 kB / 409.7 MB, free: 25.01 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.8e-05/0.2598, allocations: 76.77 kB / 409.8 MB, free: 24.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.2598, allocations: 0 / 409.8 MB, free: 24.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.2598, allocations: 38.56 kB / 409.8 MB, free: 24.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 9.52e-07/0.2599, allocations: 0 / 409.8 MB, free: 24.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002716/0.2601, allocations: 149.4 kB / 410 MB, free: 24.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.2602, allocations: 63.41 kB / 410 MB, free: 24.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.736e-05/0.2603, allocations: 149.7 kB / 410.2 MB, free: 24.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.2603, allocations: 25.7 kB / 410.2 MB, free: 24.47 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.035e-05/0.2603, allocations: 88.47 kB / 410.3 MB, free: 24.38 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.2604, allocations: 7.984 kB / 410.3 MB, free: 24.38 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.2604, allocations: 45.61 kB / 410.3 MB, free: 24.32 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.258e-05/0.2605, allocations: 318.8 kB / 410.7 MB, free: 24 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3e-05/0.2605, allocations: 16 kB / 410.7 MB, free: 23.99 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.456e-05/0.2606, allocations: 132.4 kB / 410.8 MB, free: 23.81 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.2607, allocations: 149.5 kB / 410.9 MB, free: 23.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2607, allocations: 7.938 kB / 411 MB, free: 23.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001624/0.2609, allocations: 153.2 kB / 411.1 MB, free: 23.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.2609, allocations: 11.94 kB / 411.1 MB, free: 23.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2609, allocations: 0 / 411.1 MB, free: 23.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.2609, allocations: 8.5 kB / 411.1 MB, free: 23.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.098e-05/0.261, allocations: 7.938 kB / 411.1 MB, free: 23.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.261, allocations: 15.92 kB / 411.1 MB, free: 23.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.301e-05/0.261, allocations: 15.91 kB / 411.2 MB, free: 23.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.261, allocations: 12 kB / 411.2 MB, free: 23.38 MB / 298.7 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.000124/0.2612, allocations: 135.2 kB / 411.3 MB, free: 23.24 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.2613, allocations: 121.2 kB / 411.4 MB, free: 23.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.809e-05/0.2614, allocations: 17.17 kB / 411.4 MB, free: 23.1 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.2614, allocations: 4 kB / 411.4 MB, free: 23.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2614, allocations: 4 kB / 411.5 MB, free: 23.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2614, allocations: 0 / 411.5 MB, free: 23.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.023e-05/0.2615, allocations: 189.5 kB / 411.6 MB, free: 22.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2615, allocations: 0 / 411.6 MB, free: 22.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.738e-05/0.2615, allocations: 8 kB / 411.6 MB, free: 22.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2615, allocations: 7.875 kB / 411.7 MB, free: 22.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.108e-06/0.2615, allocations: 0 / 411.7 MB, free: 22.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.2615, allocations: 4 kB / 411.7 MB, free: 22.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2615, allocations: 0 / 411.7 MB, free: 22.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004181/0.262, allocations: 0.7487 MB / 412.4 MB, free: 22.03 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.608e-05/0.262, allocations: 97 kB / 412.5 MB, free: 21.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.2621, allocations: 3.984 kB / 412.5 MB, free: 21.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.935e-05/0.2621, allocations: 8 kB / 412.5 MB, free: 21.9 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-06/0.2621, allocations: 3.984 kB / 412.5 MB, free: 21.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.2621, allocations: 4 kB / 412.5 MB, free: 21.89 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.329e-05/0.2622, allocations: 103.3 kB / 412.6 MB, free: 21.79 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2622, allocations: 4 kB / 412.6 MB, free: 21.79 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003124/0.2625, allocations: 16 kB / 412.6 MB, free: 21.77 MB / 298.7 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.0001363/0.2626, allocations: 107.2 kB / 412.7 MB, free: 21.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001877/0.2628, allocations: 92.47 kB / 412.8 MB, free: 21.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/0.2628, allocations: 4.25 kB / 412.8 MB, free: 21.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.21e-07/0.2629, allocations: 4 kB / 412.8 MB, free: 21.56 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.2632, allocations: 88.38 kB / 412.9 MB, free: 21.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004057/0.2636, allocations: 410.1 kB / 413.3 MB, free: 21.03 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/0.2638, allocations: 0.7126 MB / 414 MB, free: 20.29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.318e-05/0.2639, allocations: 8.594 kB / 414 MB, free: 20.29 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.26e-05/0.2639, allocations: 19.42 kB / 414.1 MB, free: 20.27 MB / 298.7 MB Notification: Performance of SimCode: time 3e-07/0.2639, allocations: 0 / 414.1 MB, free: 20.27 MB / 298.7 MB Notification: Performance of Templates: time 0.002988/0.2669, allocations: 1.021 MB / 415.1 MB, free: 19.27 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches