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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001145/0.001145, allocations: 75.69 kB / 21.7 MB, free: 2.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001131/0.001131, allocations: 163.8 kB / 24.99 MB, free: 9.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9359/0.9359, allocations: 177 MB / 205.2 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 273 MB, free: 1.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.367e-05/1.521e-05, allocations: 2.312 kB / 273 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.001833/0.001848, allocations: 1.786 MB / 274.8 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.003308, allocations: 0.9548 MB / 275.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.179e-05/0.00338, allocations: 4 kB / 275.7 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.003529, allocations: 27.72 kB / 275.8 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.066e-05/0.003599, allocations: 39.66 kB / 275.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003488/0.003948, allocations: 103.7 kB / 275.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000316/0.004264, allocations: 295.3 kB / 276.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.004395, allocations: 37.77 kB / 276.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005613/0.004957, allocations: 0.7915 MB / 277 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.005091, allocations: 135.5 kB / 277.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.789e-05/0.005139, allocations: 20 kB / 277.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.82e-05/0.005177, allocations: 20 kB / 277.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.005288, allocations: 139.4 kB / 277.3 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.0054, allocations: 123.5 kB / 277.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003974/0.005798, allocations: 0.5643 MB / 278 MB, free: 12.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.005801, allocations: 0 / 278 MB, free: 12.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.005801, allocations: 0 / 278 MB, free: 12.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.005807, allocations: 0 / 278 MB, free: 12.73 MB / 266.7 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.001001/0.006808, allocations: 1.271 MB / 279.3 MB, free: 11.37 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.006843, allocations: 15.98 kB / 279.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.006954, allocations: 100.5 kB / 279.4 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006544/0.007608, allocations: 341.1 kB / 279.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.007635, allocations: 16.56 kB / 279.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/0.007666, allocations: 20.38 kB / 279.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004369/0.008102, allocations: 489.7 kB / 280.2 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.00811, allocations: 0 / 280.2 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/0.008137, allocations: 8 kB / 280.3 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.008144, allocations: 0 / 280.3 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002195/0.008363, allocations: 345.8 kB / 280.6 MB, free: 9.926 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008772/0.00924, allocations: 0.8001 MB / 281.4 MB, free: 9.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.009512, allocations: 372.6 kB / 281.8 MB, free: 8.664 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.009719, allocations: 353.2 kB / 282.1 MB, free: 8.266 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.009731, allocations: 4 kB / 282.1 MB, free: 8.262 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000369/0.0101, allocations: 0.5949 MB / 282.7 MB, free: 7.578 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.633e-06/0.0101, allocations: 0 / 282.7 MB, free: 7.578 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001036/0.01114, allocations: 1.366 MB / 284.1 MB, free: 6.059 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.543e-05/0.01123, allocations: 289 kB / 284.3 MB, free: 5.715 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.01225, allocations: 1.112 MB / 285.5 MB, free: 4.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.01228, allocations: 37.7 kB / 285.5 MB, free: 4.547 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.304e-05/0.01236, allocations: 176.8 kB / 285.7 MB, free: 4.367 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.557e-05/0.01241, allocations: 71.47 kB / 285.7 MB, free: 4.297 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.01254, allocations: 163 kB / 285.9 MB, free: 4.129 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.01266, allocations: 0.5079 MB / 286.4 MB, free: 3.609 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004573/0.01312, allocations: 333.8 kB / 286.7 MB, free: 3.234 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.01333, allocations: 384.8 kB / 287.1 MB, free: 2.793 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003723/0.0137, allocations: 0.6741 MB / 287.8 MB, free: 2 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.0137, allocations: 0 / 287.8 MB, free: 2 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006617/0.01437, allocations: 0.9575 MB / 288.7 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.356e-05/0.01446, allocations: 249.5 kB / 289 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.01446, allocations: 4.094 kB / 289 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.01448, allocations: 7.938 kB / 289 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.056e-05/0.0145, allocations: 4 kB / 289 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.0145, allocations: 4 kB / 289 MB, free: 0.625 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.01464, allocations: 27.94 kB / 289 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.7e-05/0.01471, allocations: 116.1 kB / 289.1 MB, free: 496 kB / 266.7 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.0003947/0.01511, allocations: 0.6111 MB / 289.8 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.247e-05/0.01519, allocations: 99.53 kB / 289.9 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.01531, allocations: 118.8 kB / 290 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.01532, allocations: 8 kB / 290 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.01532, allocations: 0 / 290 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01533, allocations: 0 / 290 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.01659, allocations: 1.691 MB / 291.7 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01659, allocations: 0 / 291.7 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.117e-06/0.0166, allocations: 11.92 kB / 291.7 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.01661, allocations: 0 / 291.7 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.39e-05/0.01664, allocations: 31.98 kB / 291.7 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.113e-06/0.01664, allocations: 0 / 291.7 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01664, allocations: 0 / 291.7 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008024/0.01744, allocations: 1.245 MB / 293 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007934/0.01824, allocations: 376.9 kB / 293.3 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.142e-05/0.01831, allocations: 24 kB / 293.3 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.01843, allocations: 23.98 kB / 293.4 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.01854, allocations: 51.94 kB / 293.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.42e-05/0.01862, allocations: 119.8 kB / 293.5 MB, free: 11.76 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006845/0.0193, allocations: 0.7249 MB / 294.3 MB, free: 11.04 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0193, allocations: 0 / 294.3 MB, free: 11.04 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002607/0.01956, allocations: 92 kB / 294.4 MB, free: 10.95 MB / 282.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: 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.0001266/0.01969, allocations: 143.2 kB / 294.5 MB, free: 10.8 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007061/0.02039, allocations: 1.205 MB / 295.7 MB, free: 9.391 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.02039, allocations: 0 / 295.7 MB, free: 9.391 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004024/0.0208, allocations: 0.8324 MB / 296.5 MB, free: 8.406 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006283/0.02143, allocations: 310.1 kB / 296.8 MB, free: 8.129 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.0228, allocations: 1.46 MB / 298.3 MB, free: 6.582 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.02293, allocations: 144.2 kB / 298.4 MB, free: 6.422 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001553/0.02308, allocations: 97.25 kB / 298.5 MB, free: 6.324 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.317e-05/0.02315, allocations: 48.42 kB / 298.6 MB, free: 6.277 MB / 282.7 MB Notification: Performance of SimCode: time 8.71e-07/0.02315, allocations: 0 / 298.6 MB, free: 6.277 MB / 282.7 MB Notification: Performance of Templates: time 0.1525/0.1757, allocations: 10.3 MB / 308.9 MB, free: 43.25 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/WiredX/WiredX.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9797649099491537]