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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001004/0.001004, allocations: 200 kB / 8.538 MB, free: 1.746 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.204/1.204, allocations: 225.5 MB / 234.4 MB, free: 3.332 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008413/0.0008413, allocations: 89.72 kB / 286.3 MB, free: 5.289 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.163e-06/7.303e-06, allocations: 0 / 343.1 MB, free: 8.699 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09517/0.09519, allocations: 51.48 MB / 394.6 MB, free: 5.168 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2769/0.3721, allocations: 76.77 MB / 471.4 MB, free: 14.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/0.3724, allocations: 72.86 kB / 471.5 MB, free: 14.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.003619/0.3761, allocations: 1.279 MB / 472.7 MB, free: 13.86 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.3761, allocations: 7.062 kB / 472.7 MB, free: 13.86 MB / 346.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.0002589/0.3764, allocations: 346.2 kB / 473.1 MB, free: 13.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.3764, allocations: 15.86 kB / 473.1 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/0.3765, allocations: 12.84 kB / 473.1 MB, free: 13.47 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.3766, allocations: 189.2 kB / 473.3 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.3767, allocations: 7.906 kB / 473.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.3767, allocations: 7.938 kB / 473.3 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001134/0.3768, allocations: 45.06 kB / 473.4 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.3771, allocations: 187 kB / 473.5 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3771, allocations: 0 / 473.5 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.3771, allocations: 0 / 473.5 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.3771, allocations: 4 kB / 473.5 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001117/0.3773, allocations: 149.8 kB / 473.7 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.3774, allocations: 117.5 kB / 473.8 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.994e-05/0.3775, allocations: 79.58 kB / 473.9 MB, free: 12.78 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.3776, allocations: 4 kB / 473.9 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.3776, allocations: 37.88 kB / 473.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/0.3776, allocations: 0 / 473.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001929/0.3778, allocations: 111.2 kB / 474 MB, free: 12.64 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.3778, allocations: 59.22 kB / 474.1 MB, free: 12.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.971e-05/0.3779, allocations: 128.7 kB / 474.2 MB, free: 12.45 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.3779, allocations: 25.7 kB / 474.2 MB, free: 12.42 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.905e-05/0.378, allocations: 87.75 kB / 474.3 MB, free: 12.33 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.378, allocations: 7.844 kB / 474.3 MB, free: 12.33 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.378, allocations: 4 kB / 474.3 MB, free: 12.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.954e-05/0.3781, allocations: 321.9 kB / 474.6 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.655e-05/0.3781, allocations: 22.27 kB / 474.7 MB, free: 12 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.777e-05/0.3782, allocations: 111.6 kB / 474.8 MB, free: 11.85 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.537e-05/0.3782, allocations: 34.38 kB / 474.8 MB, free: 11.83 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3782, allocations: 0 / 474.8 MB, free: 11.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001548/0.3784, allocations: 134.8 kB / 474.9 MB, free: 11.71 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.3784, allocations: 4 kB / 474.9 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.3784, allocations: 4 kB / 475 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.3784, allocations: 7.906 kB / 475 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.19e-05/0.3784, allocations: 11.94 kB / 475 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.3785, allocations: 11.91 kB / 475 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.567e-05/0.3785, allocations: 6.625 kB / 475 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.3785, allocations: 8 kB / 475 MB, free: 11.67 MB / 346.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,unitDelay2.u,$CLKPRE.unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u) * Number of discrete states: 0 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.541e-05/0.3786, allocations: 120.3 kB / 475.1 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.3787, allocations: 107.6 kB / 475.2 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.996e-05/0.3788, allocations: 19.03 kB / 475.2 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3788, allocations: 0 / 475.2 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3788, allocations: 0 / 475.2 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3788, allocations: 3.984 kB / 475.2 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.721e-05/0.3789, allocations: 156.3 kB / 475.4 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3789, allocations: 0 / 475.4 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.675e-05/0.3789, allocations: 0 / 475.4 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3789, allocations: 4 kB / 475.4 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.379, allocations: 12.25 kB / 475.4 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.379, allocations: 3.906 kB / 475.4 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.379, allocations: 0 / 475.4 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001313/0.3791, allocations: 133.5 kB / 475.5 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/0.3792, allocations: 102.2 kB / 475.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.3792, allocations: 0 / 475.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.98e-05/0.3792, allocations: 5.062 kB / 475.7 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-06/0.3792, allocations: 4 kB / 475.7 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.3792, allocations: 7.438 kB / 475.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.965e-05/0.3793, allocations: 101 kB / 475.8 MB, free: 10.93 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002196/0.3795, allocations: 8 kB / 475.8 MB, free: 10.93 MB / 346.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001061/0.3796, allocations: 106.6 kB / 475.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001412/0.3798, allocations: 81.11 kB / 476 MB, free: 10.76 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3798, allocations: 4.062 kB / 476 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.3798, allocations: 0 / 476 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.3801, allocations: 78.03 kB / 476 MB, free: 10.7 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002737/0.3804, allocations: 159.1 kB / 476.2 MB, free: 10.56 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.3806, allocations: 0.7242 MB / 476.9 MB, free: 9.824 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3806, allocations: 0 / 476.9 MB, free: 9.824 MB / 346.7 MB Notification: Performance of Templates: time 0.00299/0.3836, allocations: 1.064 MB / 478 MB, free: 9.211 MB / 346.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/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