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.001154/0.001154, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001291/0.001291, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001101, allocations: 59.91 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2804, allocations: 50.54 MB / 408.8 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002912/0.2834, allocations: 0.9088 MB / 409.7 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004767/0.2839, allocations: 123.6 kB / 409.8 MB, free: 0.543 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.2841, allocations: 4 kB / 409.8 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000138/0.2842, allocations: 15.86 kB / 409.8 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.2844, allocations: 15.88 kB / 409.8 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.2847, allocations: 43.94 kB / 409.9 MB, free: 476 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.2848, allocations: 63.78 kB / 409.9 MB, free: 412 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.285, allocations: 52.16 kB / 410 MB, free: 356 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.119e-05/0.2851, allocations: 19.94 kB / 410 MB, free: 336 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.852e-05/0.2851, allocations: 35.78 kB / 410 MB, free: 300 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.2851, allocations: 4 kB / 410 MB, free: 296 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.854e-05/0.2852, allocations: 8 kB / 410 MB, free: 288 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.898e-05/0.2853, allocations: 23.92 kB / 410.1 MB, free: 264 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.687e-05/0.2853, allocations: 39.73 kB / 410.1 MB, free: 224 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.2855, allocations: 86.67 kB / 410.2 MB, free: 140 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.2855, allocations: 0 / 410.2 MB, free: 140 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2856, allocations: 0 / 410.2 MB, free: 140 kB / 318.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.2856, allocations: 0 / 410.2 MB, free: 140 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.0004987/0.2861, allocations: 395 kB / 410.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.2861, allocations: 12.03 kB / 410.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.149e-05/0.2862, allocations: 46.73 kB / 410.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.2862, allocations: 8.891 kB / 410.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.2865, allocations: 204.2 kB / 410.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.2865, allocations: 384 / 410.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.2866, allocations: 16.31 kB / 410.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004065/0.287, allocations: 221.7 kB / 411.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.287, allocations: 3.938 kB / 411.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.287, allocations: 4 kB / 411.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.287, allocations: 3.938 kB / 411.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.53e-05/0.2871, allocations: 35.98 kB / 411.1 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.2873, allocations: 193.5 kB / 411.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.2875, allocations: 122.7 kB / 411.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.2876, allocations: 85.05 kB / 411.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.2877, allocations: 0 / 411.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.2877, allocations: 46.48 kB / 411.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.042e-06/0.2877, allocations: 0 / 411.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003265/0.288, allocations: 153 kB / 411.7 MB, free: 14.44 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/0.2881, allocations: 67.41 kB / 411.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.2883, allocations: 137.8 kB / 411.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.2883, allocations: 29.7 kB / 411.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.339e-05/0.2884, allocations: 88.45 kB / 412 MB, free: 14.08 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.2884, allocations: 4 kB / 412 MB, free: 14.08 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.205e-05/0.2885, allocations: 49.66 kB / 412.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.2886, allocations: 318.8 kB / 412.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.927e-05/0.2887, allocations: 23.98 kB / 412.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.2888, allocations: 120.5 kB / 412.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.2889, allocations: 149.5 kB / 412.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.2889, allocations: 0 / 412.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002038/0.2892, allocations: 161.6 kB / 412.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.2892, allocations: 7.938 kB / 412.8 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.2892, allocations: 4 kB / 412.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.949e-05/0.2892, allocations: 8 kB / 412.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.128e-05/0.2893, allocations: 11.92 kB / 412.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.2893, allocations: 4 kB / 412.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.057e-05/0.2893, allocations: 15.89 kB / 412.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.2894, allocations: 8 kB / 412.9 MB, free: 13.1 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.0001317/0.2895, allocations: 157.8 kB / 413 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.2897, allocations: 121.5 kB / 413.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.391e-05/0.2897, allocations: 13.19 kB / 413.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.2897, allocations: 4 kB / 413.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.2897, allocations: 0 / 413.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.2897, allocations: 0 / 413.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.2899, allocations: 189.6 kB / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2899, allocations: 0 / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.495e-05/0.2899, allocations: 11.92 kB / 413.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.2899, allocations: 7.875 kB / 413.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.2899, allocations: 8 kB / 413.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.2899, allocations: 7.938 kB / 413.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2899, allocations: 0 / 413.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.2901, allocations: 137 kB / 413.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.711e-05/0.2902, allocations: 112.9 kB / 413.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.2902, allocations: 8 kB / 413.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.474e-05/0.2903, allocations: 4 kB / 413.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-06/0.2903, allocations: 3.938 kB / 413.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.2903, allocations: 8 kB / 413.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.273e-05/0.2904, allocations: 111.2 kB / 413.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2904, allocations: 0 / 413.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002245/0.2906, allocations: 16 kB / 413.8 MB, free: 12.09 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.0005917/0.2912, allocations: 0.7484 MB / 414.5 MB, free: 11.31 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.2914, allocations: 87.84 kB / 414.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.2914, allocations: 0 / 414.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.2914, allocations: 0 / 414.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.2918, allocations: 91.72 kB / 414.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.2934, allocations: 1.625 MB / 416.3 MB, free: 9.344 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.2937, allocations: 0.7122 MB / 417.1 MB, free: 8.605 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3e-05/0.2937, allocations: 8.641 kB / 417.1 MB, free: 8.598 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.567e-05/0.2938, allocations: 27.44 kB / 417.1 MB, free: 8.57 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2938, allocations: 0 / 417.1 MB, free: 8.57 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01892/0.3127, allocations: 2.429 MB / 419.5 MB, free: 6.285 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.541/7.854, allocations: 3.859 kB / 419.5 MB, free: 6.281 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.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