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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001562/0.001562, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001839/0.00184, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 59.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2852, allocations: 50.54 MB / 408.8 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002273/0.2876, allocations: 0.9081 MB / 409.7 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003737/0.288, allocations: 127.6 kB / 409.8 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.105e-05/0.288, allocations: 0 / 409.8 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.2882, allocations: 15.88 kB / 409.8 MB, free: 500 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.718e-05/0.2883, allocations: 15.86 kB / 409.8 MB, free: 484 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.2885, allocations: 43.89 kB / 409.9 MB, free: 440 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.2886, allocations: 63.83 kB / 409.9 MB, free: 376 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.2888, allocations: 48.19 kB / 410 MB, free: 324 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.814e-05/0.2888, allocations: 23.92 kB / 410 MB, free: 300 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.825e-05/0.2889, allocations: 31.78 kB / 410 MB, free: 268 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.2889, allocations: 8 kB / 410 MB, free: 260 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.39e-05/0.2889, allocations: 4 kB / 410 MB, free: 256 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.418e-05/0.289, allocations: 27.91 kB / 410.1 MB, free: 228 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.676e-05/0.2891, allocations: 35.75 kB / 410.1 MB, free: 192 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.2892, allocations: 90.61 kB / 410.2 MB, free: 104 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2893, allocations: 0 / 410.2 MB, free: 104 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.2893, allocations: 0 / 410.2 MB, free: 104 kB / 318.1 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.2893, allocations: 4 kB / 410.2 MB, free: 100 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.0004474/0.2897, allocations: 391 kB / 410.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.2898, allocations: 8.031 kB / 410.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.404e-05/0.2898, allocations: 46.73 kB / 410.6 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.2898, allocations: 8.891 kB / 410.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.2901, allocations: 210.9 kB / 410.8 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.2901, allocations: 4.375 kB / 410.8 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.2901, allocations: 8.375 kB / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.2905, allocations: 217.8 kB / 411.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.2906, allocations: 3.938 kB / 411.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.2906, allocations: 8 kB / 411.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2906, allocations: 3.938 kB / 411.1 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.599e-05/0.2907, allocations: 39.92 kB / 411.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/0.2908, allocations: 193.5 kB / 411.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.2911, allocations: 126.7 kB / 411.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.2912, allocations: 89.06 kB / 411.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.2912, allocations: 0 / 411.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.2913, allocations: 38.56 kB / 411.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 9.81e-07/0.2913, allocations: 0 / 411.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002785/0.2915, allocations: 149.5 kB / 411.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.2916, allocations: 63.41 kB / 411.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.2917, allocations: 145.8 kB / 411.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.2918, allocations: 29.7 kB / 411.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.082e-05/0.2918, allocations: 84.47 kB / 412 MB, free: 14.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.2919, allocations: 7.984 kB / 412 MB, free: 14.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.408e-05/0.2919, allocations: 49.61 kB / 412.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.2921, allocations: 318.8 kB / 412.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.635e-05/0.2921, allocations: 19.98 kB / 412.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.2922, allocations: 124.1 kB / 412.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.2924, allocations: 153.5 kB / 412.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.2924, allocations: 4 kB / 412.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002137/0.2926, allocations: 153.6 kB / 412.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.2926, allocations: 11.94 kB / 412.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.2926, allocations: 7.984 kB / 412.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.2927, allocations: 4 kB / 412.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.416e-05/0.2927, allocations: 7.938 kB / 412.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.2927, allocations: 4 kB / 412.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.033e-05/0.2928, allocations: 19.89 kB / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.2928, allocations: 11.98 kB / 412.9 MB, free: 13.05 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.0001325/0.2929, allocations: 146 kB / 413 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.2931, allocations: 121.5 kB / 413.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.775e-05/0.2932, allocations: 13.19 kB / 413.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2932, allocations: 7.938 kB / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2932, allocations: 0 / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.2932, allocations: 3.984 kB / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.2933, allocations: 185.6 kB / 413.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2933, allocations: 0 / 413.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.924e-05/0.2934, allocations: 4 kB / 413.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.2934, allocations: 15.86 kB / 413.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.2934, allocations: 0 / 413.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2934, allocations: 7.938 kB / 413.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2934, allocations: 0 / 413.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.2936, allocations: 152.9 kB / 413.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.047e-05/0.2937, allocations: 104.9 kB / 413.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.2937, allocations: 8 kB / 413.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.014e-05/0.2937, allocations: 0 / 413.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-06/0.2937, allocations: 4 kB / 413.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.2938, allocations: 8 kB / 413.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.764e-05/0.2938, allocations: 111.2 kB / 413.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2938, allocations: 0 / 413.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002241/0.2941, allocations: 16 kB / 413.8 MB, free: 12.05 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.0006017/0.2947, allocations: 0.748 MB / 414.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002057/0.2949, allocations: 95.83 kB / 414.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2949, allocations: 0 / 414.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.2949, allocations: 1.062 kB / 414.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.2953, allocations: 85.05 kB / 414.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.2969, allocations: 1.621 MB / 416.3 MB, free: 9.312 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.2972, allocations: 0.7122 MB / 417 MB, free: 8.574 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.349e-05/0.2972, allocations: 8.641 kB / 417.1 MB, free: 8.566 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.13e-05/0.2973, allocations: 30.92 kB / 417.1 MB, free: 8.539 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2973, allocations: 0 / 417.1 MB, free: 8.539 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.3206, allocations: 2.425 MB / 419.5 MB, free: 6.254 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.998/8.318, allocations: 6.859 kB / 419.5 MB, free: 6.25 MB / 334.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.6e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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