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.001078/0.001078, allocations: 84.98 kB / 22.99 MB, free: 1.508 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.00111/0.00111, allocations: 181.2 kB / 26.4 MB, free: 7.992 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 1.018/1.018, allocations: 158.6 MB / 188.3 MB, free: 2.828 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.843e-06/1.843e-06, allocations: 3.938 kB / 252.3 MB, free: 7.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.628e-05, allocations: 2.312 kB / 252.3 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002614/0.002641, allocations: 1.76 MB / 254 MB, free: 5.484 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.004436, allocations: 0.9636 MB / 255 MB, free: 4.512 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.41e-05/0.00453, allocations: 0 / 255 MB, free: 4.512 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00017/0.0047, allocations: 27.72 kB / 255 MB, free: 4.484 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.716e-05/0.004787, allocations: 39.66 kB / 255 MB, free: 4.445 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004092/0.005197, allocations: 99.75 kB / 255.1 MB, free: 4.348 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003156/0.005512, allocations: 295.3 kB / 255.4 MB, free: 4.059 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.005622, allocations: 37.78 kB / 255.5 MB, free: 4.023 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006413/0.006263, allocations: 0.7954 MB / 256.3 MB, free: 3.227 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.006424, allocations: 131.6 kB / 256.4 MB, free: 3.098 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.24e-05/0.006466, allocations: 20 kB / 256.4 MB, free: 3.078 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.291e-05/0.006509, allocations: 20 kB / 256.4 MB, free: 3.059 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.006627, allocations: 151.3 kB / 256.6 MB, free: 2.91 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.006737, allocations: 103.6 kB / 256.7 MB, free: 2.809 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006754/0.007413, allocations: 0.5721 MB / 257.3 MB, free: 2.234 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.007416, allocations: 0 / 257.3 MB, free: 2.234 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.007417, allocations: 0 / 257.3 MB, free: 2.234 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.007426, allocations: 4 kB / 257.3 MB, free: 2.23 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.001124/0.00855, allocations: 1.279 MB / 258.5 MB, free: 0.8594 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.008597, allocations: 11.98 kB / 258.6 MB, free: 0.8477 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.008715, allocations: 96.47 kB / 258.6 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.009016, allocations: 341.1 kB / 259 MB, free: 400 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.009044, allocations: 12.56 kB / 259 MB, free: 388 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.009077, allocations: 20.38 kB / 259 MB, free: 368 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004706/0.009548, allocations: 457.2 kB / 259.5 MB, free: 15.86 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.009561, allocations: 0 / 259.5 MB, free: 15.86 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.863e-05/0.009589, allocations: 12 kB / 259.5 MB, free: 15.84 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.009595, allocations: 7.938 kB / 259.5 MB, free: 15.84 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002144/0.009809, allocations: 321.8 kB / 259.8 MB, free: 15.47 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007939/0.0106, allocations: 0.6251 MB / 260.4 MB, free: 14.82 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.01088, allocations: 356.5 kB / 260.8 MB, free: 14.41 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.01107, allocations: 333.3 kB / 261.1 MB, free: 14.03 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.01108, allocations: 4 kB / 261.1 MB, free: 14.03 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000387/0.01147, allocations: 0.5715 MB / 261.7 MB, free: 13.37 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 1.573e-06/0.01147, allocations: 0 / 261.7 MB, free: 13.37 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.001082/0.01255, allocations: 1.302 MB / 263 MB, free: 11.91 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.01268, allocations: 285 kB / 263.2 MB, free: 11.57 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.0139, allocations: 0.8813 MB / 264.1 MB, free: 10.68 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/0.01394, allocations: 33.7 kB / 264.2 MB, free: 10.64 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.567e-05/0.01403, allocations: 180.8 kB / 264.3 MB, free: 10.45 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.829e-05/0.01409, allocations: 67.52 kB / 264.4 MB, free: 10.39 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.01423, allocations: 171 kB / 264.6 MB, free: 10.21 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.01437, allocations: 0.5118 MB / 265.1 MB, free: 9.688 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.01457, allocations: 309.8 kB / 265.4 MB, free: 9.336 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.01475, allocations: 352.8 kB / 265.7 MB, free: 8.926 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/0.0151, allocations: 0.6553 MB / 266.4 MB, free: 8.152 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.01511, allocations: 4 kB / 266.4 MB, free: 8.148 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007256/0.01583, allocations: 0.9261 MB / 267.3 MB, free: 7.117 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.01595, allocations: 245.6 kB / 267.6 MB, free: 6.828 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.01596, allocations: 0 / 267.6 MB, free: 6.828 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.01597, allocations: 7.938 kB / 267.6 MB, free: 6.82 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.861e-05/0.016, allocations: 7.984 kB / 267.6 MB, free: 6.812 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.01601, allocations: 4 kB / 267.6 MB, free: 6.809 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.01617, allocations: 31.88 kB / 267.6 MB, free: 6.777 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.731e-05/0.01625, allocations: 104.2 kB / 267.7 MB, free: 6.676 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.0004979/0.01675, allocations: 0.6267 MB / 268.3 MB, free: 5.988 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.01687, allocations: 95.53 kB / 268.4 MB, free: 5.895 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.01709, allocations: 106.9 kB / 268.5 MB, free: 5.785 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.01709, allocations: 3.938 kB / 268.5 MB, free: 5.781 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.0171, allocations: 0 / 268.5 MB, free: 5.781 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.0171, allocations: 7.984 kB / 268.5 MB, free: 5.773 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.01864, allocations: 1.477 MB / 270 MB, free: 4.164 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.01864, allocations: 0 / 270 MB, free: 4.164 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.788e-05/0.01866, allocations: 7.938 kB / 270 MB, free: 4.156 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.01866, allocations: 0 / 270 MB, free: 4.156 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.481e-05/0.01871, allocations: 39.92 kB / 270.1 MB, free: 4.117 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.165e-06/0.01871, allocations: 3.938 kB / 270.1 MB, free: 4.113 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01871, allocations: 0 / 270.1 MB, free: 4.113 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.02007, allocations: 1.198 MB / 271.3 MB, free: 2.797 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000609/0.02068, allocations: 380.9 kB / 271.6 MB, free: 2.414 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.446e-05/0.02076, allocations: 23.94 kB / 271.7 MB, free: 2.391 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.02093, allocations: 19.98 kB / 271.7 MB, free: 2.371 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.02105, allocations: 51.94 kB / 271.7 MB, free: 2.32 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.02115, allocations: 115.9 kB / 271.8 MB, free: 2.207 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0005279/0.02168, allocations: 486.5 kB / 272.3 MB, free: 1.734 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02168, allocations: 4 kB / 272.3 MB, free: 1.73 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003549/0.02203, allocations: 92 kB / 272.4 MB, free: 1.641 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.0001773/0.02221, allocations: 143.2 kB / 272.6 MB, free: 1.492 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007948/0.02301, allocations: 1.15 MB / 273.7 MB, free: 144 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.02301, allocations: 0 / 273.7 MB, free: 144 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004888/0.0235, allocations: 0.8168 MB / 274.5 MB, free: 15.17 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008297/0.02433, allocations: 302.4 kB / 274.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.02602, allocations: 1.44 MB / 276.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001464/0.02617, allocations: 148.2 kB / 276.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001988/0.02636, allocations: 89.28 kB / 276.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005945/0.02696, allocations: 318 kB / 276.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of SimCode: time 8.32e-07/0.02696, allocations: 0 / 276.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of Templates: time 0.0139/0.04086, allocations: 9.771 MB / 286.6 MB, free: 3.023 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.024990650359541]