Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.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.Electrical.Digital.Examples.WiredX,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_WiredX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.WiredX,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_WiredX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001245/0.001245, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001261/0.001261, allocations: 202 kB / 18.73 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.459/1.459, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002888/0.002888, allocations: 63.89 kB / 358.3 MB, free: 13.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3124, allocations: 50.55 MB / 408.8 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002873/0.3153, allocations: 1.824 MB / 410.7 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.3174, allocations: 0.9744 MB / 411.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.986e-05/0.3175, allocations: 7.938 kB / 411.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001515/0.3176, allocations: 23.78 kB / 411.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.511e-05/0.3178, allocations: 35.66 kB / 411.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003356/0.3181, allocations: 91.83 kB / 411.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004071/0.3185, allocations: 323.4 kB / 412.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.3187, allocations: 53.59 kB / 412.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007771/0.3194, allocations: 0.7136 MB / 412.9 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.3197, allocations: 147.4 kB / 413 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.843e-05/0.3198, allocations: 20 kB / 413 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.382e-05/0.3198, allocations: 20 kB / 413 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.32, allocations: 143.4 kB / 413.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002365/0.3202, allocations: 238.2 kB / 413.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007266/0.321, allocations: 0.7497 MB / 414.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.321, allocations: 8 kB / 414.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.321, allocations: 0 / 414.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.321, allocations: 0 / 414.2 MB, free: 12.08 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001219/0.3222, allocations: 1.192 MB / 415.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.3223, allocations: 12.02 kB / 415.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.211e-05/0.3223, allocations: 50.75 kB / 415.4 MB, free: 10.72 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.3224, allocations: 76.47 kB / 415.5 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004322/0.3229, allocations: 404.9 kB / 415.9 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.3229, allocations: 12.56 kB / 415.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.649e-05/0.323, allocations: 28.12 kB / 415.9 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005257/0.3235, allocations: 246.3 kB / 416.2 MB, free: 9.918 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3235, allocations: 3.938 kB / 416.2 MB, free: 9.914 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.926e-05/0.3236, allocations: 15.97 kB / 416.2 MB, free: 9.898 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3236, allocations: 0 / 416.2 MB, free: 9.898 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003034/0.3239, allocations: 140.1 kB / 416.3 MB, free: 9.762 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.325, allocations: 0.7233 MB / 417.1 MB, free: 8.988 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003765/0.3254, allocations: 214.4 kB / 417.3 MB, free: 8.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/0.3257, allocations: 176.8 kB / 417.4 MB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.3257, allocations: 0 / 417.4 MB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005835/0.3263, allocations: 385.9 kB / 417.8 MB, free: 8.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.443e-06/0.3263, allocations: 0 / 417.8 MB, free: 8.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001512/0.3278, allocations: 0.9283 MB / 418.7 MB, free: 7.195 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001924/0.328, allocations: 285 kB / 419 MB, free: 6.855 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.3293, allocations: 0.9491 MB / 420 MB, free: 5.895 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.43e-05/0.3293, allocations: 37.7 kB / 420 MB, free: 5.852 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.563e-05/0.3294, allocations: 130 kB / 420.1 MB, free: 5.723 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.132e-05/0.3295, allocations: 75.47 kB / 420.2 MB, free: 5.648 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002175/0.3298, allocations: 161.3 kB / 420.4 MB, free: 5.484 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3299, allocations: 334.8 kB / 420.7 MB, free: 5.148 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/0.3302, allocations: 128.2 kB / 420.8 MB, free: 5.023 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/0.3305, allocations: 161.5 kB / 421 MB, free: 4.855 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007191/0.3312, allocations: 0.7066 MB / 421.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3312, allocations: 0 / 421.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00106/0.3323, allocations: 0.7605 MB / 422.4 MB, free: 3.219 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001625/0.3325, allocations: 248.5 kB / 422.7 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3325, allocations: 0 / 422.7 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.3325, allocations: 0 / 422.7 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.384e-05/0.3325, allocations: 11.94 kB / 422.7 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3325, allocations: 0 / 422.7 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.3328, allocations: 35.88 kB / 422.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.3329, allocations: 104.1 kB / 422.8 MB, free: 2.781 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.bUF3S1.inertialDelaySensitive.y,$PRE.bUF3S2.inertialDelaySensitive.y,wiredX.auxiliary[2],wiredX.auxiliary[1],bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.x,$PRE.bUF3S1.inertialDelaySensitive.x,bUF3S1.yy,bUF3S1.nextstate,x_table1.y,e_table1.y,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.x,$PRE.bUF3S2.inertialDelaySensitive.x,bUF3S2.yy,bUF3S2.nextstate,x_table2.y,e_table2.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wiredX.auxiliary[2],wiredX.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 8 * 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.0006313/0.3335, allocations: 0.6163 MB / 423.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.896e-05/0.3336, allocations: 79.53 kB / 423.5 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001973/0.3338, allocations: 126.9 kB / 423.7 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.3339, allocations: 4 kB / 423.7 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3339, allocations: 0 / 423.7 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3339, allocations: 0 / 423.7 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00186/0.3357, allocations: 1.425 MB / 425.1 MB, free: 368 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3357, allocations: 0 / 425.1 MB, free: 368 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.751e-05/0.3358, allocations: 8 kB / 425.1 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3358, allocations: 7.984 kB / 425.1 MB, free: 352 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.255e-05/0.3358, allocations: 31.98 kB / 425.1 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3358, allocations: 0 / 425.1 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3359, allocations: 3.938 kB / 425.1 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.3371, allocations: 0.9653 MB / 426.1 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005723/0.3377, allocations: 424.1 kB / 426.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.79e-05/0.3378, allocations: 24 kB / 426.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.338, allocations: 19.98 kB / 426.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.3382, allocations: 55.94 kB / 426.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/0.3383, allocations: 119.8 kB / 426.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009343/0.3393, allocations: 0.6937 MB / 427.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3393, allocations: 0 / 427.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003639/0.3396, allocations: 92 kB / 427.5 MB, free: 13.85 MB / 350.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: 29 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.t_next,e_table1.y,x_table1.y,bUF3S1.nextstate,bUF3S1.yy,bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.t_next,wiredX.y,wiredX.auxiliary[1],wiredX.auxiliary[2]) * Number of discrete states: 27 (e_table2.y,x_table2.y,bUF3S2.yy,bUF3S2.nextstate,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.y_old,$whenCondition4,$whenCondition3,bUF3S2.inertialDelaySensitive.x,e_table1.y,x_table1.y,bUF3S1.yy,bUF3S1.nextstate,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S1.inertialDelaySensitive.x,wiredX.auxiliary[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 8 * 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.001711/0.3414, allocations: 1.553 MB / 429.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.3424, allocations: 0.8818 MB / 429.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3424, allocations: 0 / 429.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007085/0.3431, allocations: 0.753 MB / 430.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.3443, allocations: 275.8 kB / 431 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006217/0.3505, allocations: 4.625 MB / 435.6 MB, free: 5.367 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006938/0.3512, allocations: 0.9442 MB / 436.5 MB, free: 4.395 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002298/0.3514, allocations: 93.33 kB / 436.6 MB, free: 4.305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.3516, allocations: 87.36 kB / 436.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3516, allocations: 0 / 436.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03406/0.3857, allocations: 11.73 MB / 448.4 MB, free: 8.582 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.238/8.624, allocations: 4.062 kB / 448.4 MB, free: 8.578 MB / 366.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_WiredX_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_WiredX.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/WiredX/WiredX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches