Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 75.75 kB / 21.97 MB, free: 2.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 169.9 kB / 25.33 MB, free: 9.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9503/0.9503, allocations: 158.6 MB / 187.2 MB, free: 2.941 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 251 MB, free: 7.516 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.775e-05/1.901e-05, allocations: 2.312 kB / 251 MB, free: 7.512 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002353/0.002372, allocations: 1.783 MB / 252.8 MB, free: 5.711 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.004113, allocations: 0.9558 MB / 253.8 MB, free: 4.746 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.911e-05/0.004182, allocations: 0 / 253.8 MB, free: 4.746 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.004343, allocations: 31.72 kB / 253.8 MB, free: 4.715 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.755e-05/0.00442, allocations: 43.64 kB / 253.9 MB, free: 4.672 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003971/0.004818, allocations: 103.7 kB / 254 MB, free: 4.57 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003141/0.005132, allocations: 299.3 kB / 254.2 MB, free: 4.277 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.005277, allocations: 29.78 kB / 254.3 MB, free: 4.25 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006503/0.005927, allocations: 0.7954 MB / 255.1 MB, free: 3.453 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.006093, allocations: 127.6 kB / 255.2 MB, free: 3.328 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.273e-05/0.006145, allocations: 20 kB / 255.2 MB, free: 3.309 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.555e-05/0.006191, allocations: 28 kB / 255.2 MB, free: 3.281 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.006322, allocations: 143.4 kB / 255.4 MB, free: 3.141 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.00645, allocations: 115.5 kB / 255.5 MB, free: 3.027 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004369/0.006887, allocations: 0.5644 MB / 256.1 MB, free: 2.461 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.00689, allocations: 0 / 256.1 MB, free: 2.461 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.006891, allocations: 0 / 256.1 MB, free: 2.461 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.006898, allocations: 0 / 256.1 MB, free: 2.461 MB / 234.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.00102/0.007918, allocations: 1.271 MB / 257.3 MB, free: 1.102 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.007963, allocations: 11.98 kB / 257.3 MB, free: 1.09 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.008081, allocations: 96.47 kB / 257.4 MB, free: 0.9961 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.008414, allocations: 345.1 kB / 257.8 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.008443, allocations: 12.56 kB / 257.8 MB, free: 0.6172 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.008477, allocations: 20.38 kB / 257.8 MB, free: 0.5977 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000492/0.008969, allocations: 481.2 kB / 258.3 MB, free: 72 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.008981, allocations: 0 / 258.3 MB, free: 72 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/0.009009, allocations: 12 kB / 258.3 MB, free: 60 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.009017, allocations: 0 / 258.3 MB, free: 60 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002494/0.009266, allocations: 345.8 kB / 258.6 MB, free: 15.67 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.01028, allocations: 0.8001 MB / 259.4 MB, free: 14.84 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003077/0.01059, allocations: 383.4 kB / 259.8 MB, free: 14.4 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.01081, allocations: 349.3 kB / 260.1 MB, free: 14.01 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.01082, allocations: 8 kB / 260.1 MB, free: 14 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004262/0.01125, allocations: 0.5949 MB / 260.7 MB, free: 13.32 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 2.134e-06/0.01125, allocations: 0 / 260.7 MB, free: 13.32 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.00116/0.01241, allocations: 1.361 MB / 262.1 MB, free: 11.8 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.01252, allocations: 285 kB / 262.4 MB, free: 11.46 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.01372, allocations: 1.12 MB / 263.5 MB, free: 10.33 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.01375, allocations: 33.7 kB / 263.5 MB, free: 10.29 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.866e-05/0.01384, allocations: 180.8 kB / 263.7 MB, free: 10.11 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.806e-05/0.0139, allocations: 67.48 kB / 263.8 MB, free: 10.04 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.01403, allocations: 163 kB / 263.9 MB, free: 9.871 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.01419, allocations: 0.5079 MB / 264.4 MB, free: 9.352 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.0144, allocations: 333.8 kB / 264.8 MB, free: 8.977 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.01463, allocations: 376.8 kB / 265.1 MB, free: 8.543 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004407/0.01507, allocations: 0.6827 MB / 265.8 MB, free: 7.742 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.01507, allocations: 0 / 265.8 MB, free: 7.742 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007467/0.01582, allocations: 0.9651 MB / 266.8 MB, free: 6.672 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004325/0.01625, allocations: 249.5 kB / 267 MB, free: 6.379 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.01626, allocations: 4 kB / 267 MB, free: 6.375 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.01627, allocations: 0 / 267 MB, free: 6.375 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.29e-05/0.01631, allocations: 12.08 kB / 267 MB, free: 6.363 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.01631, allocations: 4 kB / 267 MB, free: 6.359 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.01646, allocations: 27.94 kB / 267.1 MB, free: 6.332 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.507e-05/0.01654, allocations: 104.2 kB / 267.2 MB, free: 6.23 MB / 250.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.0004259/0.01697, allocations: 0.6189 MB / 267.8 MB, free: 5.551 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.693e-05/0.01705, allocations: 99.53 kB / 267.9 MB, free: 5.453 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.0172, allocations: 110.8 kB / 268 MB, free: 5.34 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.0172, allocations: 0 / 268 MB, free: 5.34 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.0172, allocations: 0 / 268 MB, free: 5.34 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.01722, allocations: 7.984 kB / 268 MB, free: 5.332 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/0.01858, allocations: 1.679 MB / 269.7 MB, free: 3.512 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.01858, allocations: 0 / 269.7 MB, free: 3.512 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.311e-05/0.01859, allocations: 11.88 kB / 269.7 MB, free: 3.5 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.01859, allocations: 4 kB / 269.7 MB, free: 3.496 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.546e-05/0.01863, allocations: 27.98 kB / 269.7 MB, free: 3.469 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.01863, allocations: 0 / 269.7 MB, free: 3.469 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.01864, allocations: 8 kB / 269.7 MB, free: 3.461 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008783/0.01951, allocations: 1.252 MB / 271 MB, free: 2.09 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004385/0.01995, allocations: 376.9 kB / 271.4 MB, free: 1.711 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.483e-05/0.02002, allocations: 28 kB / 271.4 MB, free: 1.684 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.02015, allocations: 19.98 kB / 271.4 MB, free: 1.664 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.02028, allocations: 59.92 kB / 271.5 MB, free: 1.605 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.042e-05/0.02036, allocations: 115.9 kB / 271.6 MB, free: 1.492 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0006907/0.02105, allocations: 0.721 MB / 272.3 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.02105, allocations: 0 / 272.3 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000255/0.02131, allocations: 92 kB / 272.4 MB, free: 0.6836 MB / 250.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.0001453/0.02145, allocations: 147.2 kB / 272.5 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001228/0.02268, allocations: 1.201 MB / 273.7 MB, free: 15.13 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.02268, allocations: 0 / 273.7 MB, free: 15.13 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004279/0.02311, allocations: 0.8363 MB / 274.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006489/0.02376, allocations: 298.4 kB / 274.9 MB, free: 13.86 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.02517, allocations: 1.477 MB / 276.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.02531, allocations: 144.2 kB / 276.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001662/0.02547, allocations: 93.27 kB / 276.6 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.02558, allocations: 52.42 kB / 276.6 MB, free: 12 MB / 266.7 MB Notification: Performance of SimCode: time 1.623e-06/0.02558, allocations: 0 / 276.6 MB, free: 12 MB / 266.7 MB Notification: Performance of Templates: time 0.01064/0.03622, allocations: 10.28 MB / 286.9 MB, free: 1.711 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.2892140466719866]