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.001218/0.001218, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001617/0.001617, allocations: 205.2 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 55.91 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3042, allocations: 50.55 MB / 408.7 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002206/0.3065, allocations: 0.9087 MB / 409.7 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003716/0.3069, allocations: 127.6 kB / 409.8 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.253e-05/0.307, allocations: 3.938 kB / 409.8 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.3071, allocations: 15.86 kB / 409.8 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.3072, allocations: 7.938 kB / 409.8 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002463/0.3075, allocations: 47.88 kB / 409.9 MB, free: 488 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.3076, allocations: 59.84 kB / 409.9 MB, free: 428 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.3077, allocations: 44.2 kB / 410 MB, free: 380 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.704e-05/0.3078, allocations: 27.91 kB / 410 MB, free: 352 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.978e-05/0.3079, allocations: 31.78 kB / 410 MB, free: 320 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.429e-05/0.3079, allocations: 8 kB / 410 MB, free: 312 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.387e-05/0.3079, allocations: 4 kB / 410 MB, free: 308 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.443e-05/0.308, allocations: 23.92 kB / 410.1 MB, free: 284 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.547e-05/0.308, allocations: 43.73 kB / 410.1 MB, free: 240 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.3082, allocations: 83.58 kB / 410.2 MB, free: 156 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3082, allocations: 0 / 410.2 MB, free: 156 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3082, allocations: 0 / 410.2 MB, free: 156 kB / 318.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.3082, allocations: 0 / 410.2 MB, free: 156 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.0005855/0.3088, allocations: 388.9 kB / 410.6 MB, free: 15.72 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.3089, allocations: 8.031 kB / 410.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.617e-05/0.3089, allocations: 38.75 kB / 410.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.3089, allocations: 12.75 kB / 410.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.3092, allocations: 224 kB / 410.8 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.3092, allocations: 4.375 kB / 410.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.3092, allocations: 8.375 kB / 410.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003726/0.3096, allocations: 221.8 kB / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.3096, allocations: 7.938 kB / 411.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.3097, allocations: 7.938 kB / 411.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.3097, allocations: 0 / 411.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.991e-05/0.3097, allocations: 35.98 kB / 411.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001654/0.3099, allocations: 181.6 kB / 411.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.3101, allocations: 134.9 kB / 411.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.3103, allocations: 76.77 kB / 411.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.3103, allocations: 4 kB / 411.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.3103, allocations: 34.56 kB / 411.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.3103, allocations: 0 / 411.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002857/0.3106, allocations: 153.4 kB / 411.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.3107, allocations: 74.31 kB / 411.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.3108, allocations: 145.7 kB / 411.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.3108, allocations: 29.7 kB / 411.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.15e-05/0.3109, allocations: 88.47 kB / 412 MB, free: 14.1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.3109, allocations: 7.984 kB / 412 MB, free: 14.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.498e-05/0.311, allocations: 45.61 kB / 412.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3111, allocations: 318.8 kB / 412.4 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.323e-05/0.3112, allocations: 19.98 kB / 412.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.3113, allocations: 120.4 kB / 412.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.3114, allocations: 153.5 kB / 412.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.3114, allocations: 8 kB / 412.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002036/0.3116, allocations: 153.2 kB / 412.8 MB, free: 13.17 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3116, allocations: 11.94 kB / 412.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.3117, allocations: 4 kB / 412.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3117, allocations: 4 kB / 412.8 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.568e-05/0.3117, allocations: 12.42 kB / 412.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.3117, allocations: 8 kB / 412.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.64e-05/0.3118, allocations: 15.94 kB / 412.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.3118, allocations: 8 kB / 412.9 MB, free: 13.11 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.0001239/0.3119, allocations: 141.7 kB / 413 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.3121, allocations: 125.4 kB / 413.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.7e-05/0.3122, allocations: 21.19 kB / 413.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3122, allocations: 0 / 413.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3122, allocations: 0 / 413.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3122, allocations: 4 kB / 413.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.3123, allocations: 181.6 kB / 413.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.3124, allocations: 4 kB / 413.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.826e-05/0.3124, allocations: 7.938 kB / 413.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.3124, allocations: 7.922 kB / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.3124, allocations: 4 kB / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3124, allocations: 0 / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3124, allocations: 0 / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.3126, allocations: 156.8 kB / 413.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.46e-05/0.3127, allocations: 104.9 kB / 413.6 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.3127, allocations: 4 kB / 413.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.004e-05/0.3128, allocations: 0 / 413.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-06/0.3128, allocations: 0 / 413.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.3128, allocations: 11.98 kB / 413.6 MB, free: 12.24 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.782e-05/0.3129, allocations: 103.3 kB / 413.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3129, allocations: 0 / 413.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00023/0.3131, allocations: 16 kB / 413.8 MB, free: 12.12 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.000762/0.3139, allocations: 0.7624 MB / 414.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001934/0.3141, allocations: 92.59 kB / 414.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.3141, allocations: 4.312 kB / 414.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.42e-07/0.3141, allocations: 3.938 kB / 414.6 MB, free: 11.24 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.3145, allocations: 79.94 kB / 414.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.3161, allocations: 1.618 MB / 416.3 MB, free: 9.375 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.3165, allocations: 0.72 MB / 417 MB, free: 8.629 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.126e-05/0.3166, allocations: 8.641 kB / 417 MB, free: 8.621 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.785e-05/0.3167, allocations: 23.44 kB / 417.1 MB, free: 8.598 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3167, allocations: 0 / 417.1 MB, free: 8.598 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01916/0.3358, allocations: 2.462 MB / 419.5 MB, free: 6.277 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.641/7.977, allocations: 18.61 kB / 419.5 MB, free: 6.262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 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.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