Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 84.66 kB / 20.95 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 153.5 kB / 24.26 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 173.4 MB / 200.8 MB, free: 9.289 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.521e-05/2.656e-05, allocations: 6.25 kB / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.00331/0.003337, allocations: 1.715 MB / 269 MB, free: 4.977 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002297/0.005634, allocations: 0.9198 MB / 270 MB, free: 4.051 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.538e-05/0.005719, allocations: 3.938 kB / 270 MB, free: 4.047 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001735/0.005893, allocations: 27.78 kB / 270 MB, free: 4.02 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001161/0.006009, allocations: 43.66 kB / 270 MB, free: 3.977 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004574/0.006466, allocations: 103.7 kB / 270.1 MB, free: 3.875 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004264/0.006893, allocations: 291.3 kB / 270.4 MB, free: 3.59 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.007022, allocations: 37.77 kB / 270.4 MB, free: 3.551 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.008039, allocations: 0.7876 MB / 271.2 MB, free: 2.762 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002462/0.008285, allocations: 135.6 kB / 271.4 MB, free: 2.629 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.158e-05/0.008357, allocations: 20 kB / 271.4 MB, free: 2.609 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.122e-05/0.008418, allocations: 24 kB / 271.4 MB, free: 2.586 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001801/0.008598, allocations: 143.4 kB / 271.6 MB, free: 2.445 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001894/0.008788, allocations: 119.4 kB / 271.7 MB, free: 2.328 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009091/0.009697, allocations: 0.7475 MB / 272.4 MB, free: 1.578 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.0097, allocations: 0 / 272.4 MB, free: 1.578 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.009701, allocations: 0 / 272.4 MB, free: 1.578 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.009709, allocations: 0 / 272.4 MB, free: 1.578 MB / 250.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.001465/0.01117, allocations: 1.113 MB / 273.5 MB, free: 392 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.01121, allocations: 8.922 kB / 273.5 MB, free: 384 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001932/0.01141, allocations: 104.4 kB / 273.6 MB, free: 280 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004967/0.0119, allocations: 338.5 kB / 274 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/0.01193, allocations: 8.562 kB / 274 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-05/0.01199, allocations: 24.38 kB / 274 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007793/0.01277, allocations: 493.5 kB / 274.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.01278, allocations: 0 / 274.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.225e-05/0.01282, allocations: 4 kB / 274.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.01283, allocations: 4 kB / 274.5 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005199/0.01335, allocations: 385.1 kB / 274.9 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001333/0.01468, allocations: 0.6332 MB / 275.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005602/0.01524, allocations: 392 kB / 275.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004702/0.01571, allocations: 366.4 kB / 276.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.01573, allocations: 8 kB / 276.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008719/0.0166, allocations: 0.624 MB / 276.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.473e-06/0.01661, allocations: 0 / 276.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.002138/0.01874, allocations: 1.431 MB / 278.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002113/0.01895, allocations: 285 kB / 278.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/0.02041, allocations: 0.9452 MB / 279.5 MB, free: 9.801 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.079e-05/0.02048, allocations: 37.7 kB / 279.6 MB, free: 9.758 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.02059, allocations: 126.1 kB / 279.7 MB, free: 9.633 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.0207, allocations: 75.47 kB / 279.8 MB, free: 9.559 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002442/0.02094, allocations: 157.3 kB / 279.9 MB, free: 9.398 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.02114, allocations: 338.8 kB / 280.2 MB, free: 9.059 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004798/0.02162, allocations: 369.8 kB / 280.6 MB, free: 8.648 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005126/0.02213, allocations: 405.5 kB / 281 MB, free: 8.191 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.02327, allocations: 0.7107 MB / 281.7 MB, free: 7.367 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.02328, allocations: 0 / 281.7 MB, free: 7.367 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001502/0.02478, allocations: 1.032 MB / 282.7 MB, free: 6.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002222/0.025, allocations: 253.6 kB / 283 MB, free: 5.934 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.02501, allocations: 4 kB / 283 MB, free: 5.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.02503, allocations: 4 kB / 283 MB, free: 5.926 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.428e-05/0.02506, allocations: 4 kB / 283 MB, free: 5.922 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.82e-06/0.02507, allocations: 0 / 283 MB, free: 5.922 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/0.02533, allocations: 27.92 kB / 283 MB, free: 5.895 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001573/0.02549, allocations: 116.1 kB / 283.1 MB, free: 5.781 MB / 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.000807/0.02629, allocations: 0.6045 MB / 283.8 MB, free: 5.117 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/0.02648, allocations: 107.5 kB / 283.9 MB, free: 5.012 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002322/0.02671, allocations: 138.8 kB / 284 MB, free: 4.871 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.02672, allocations: 4 kB / 284 MB, free: 4.867 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.02672, allocations: 3.938 kB / 284 MB, free: 4.863 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.02673, allocations: 0 / 284 MB, free: 4.863 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002338/0.02906, allocations: 1.563 MB / 285.6 MB, free: 3.164 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.02907, allocations: 4 kB / 285.6 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.097e-05/0.02909, allocations: 11.92 kB / 285.6 MB, free: 3.148 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.02909, allocations: 0 / 285.6 MB, free: 3.148 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.096e-05/0.02915, allocations: 31.92 kB / 285.6 MB, free: 3.117 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.02915, allocations: 4 kB / 285.6 MB, free: 3.113 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.02916, allocations: 0 / 285.6 MB, free: 3.113 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.03099, allocations: 1.244 MB / 286.9 MB, free: 1.754 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009041/0.03189, allocations: 424.7 kB / 287.3 MB, free: 1.332 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.032, allocations: 20 kB / 287.3 MB, free: 1.312 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.03226, allocations: 23.98 kB / 287.3 MB, free: 1.289 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/0.03244, allocations: 55.94 kB / 287.4 MB, free: 1.234 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/0.03258, allocations: 111.9 kB / 287.5 MB, free: 1.125 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001084/0.03366, allocations: 0.686 MB / 288.2 MB, free: 456 kB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.03366, allocations: 0 / 288.2 MB, free: 456 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.000439/0.0341, allocations: 92 kB / 288.3 MB, free: 364 kB / 266.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.0002196/0.03432, allocations: 151.2 kB / 288.4 MB, free: 200 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001745/0.03607, allocations: 1.244 MB / 289.6 MB, free: 14.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.03607, allocations: 0 / 289.6 MB, free: 14.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009356/0.03701, allocations: 0.8445 MB / 290.5 MB, free: 13.76 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.03821, allocations: 297.5 kB / 290.8 MB, free: 13.49 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002466/0.04067, allocations: 1.56 MB / 292.3 MB, free: 11.85 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005148/0.04119, allocations: 341 kB / 292.7 MB, free: 11.49 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000232/0.04142, allocations: 93.27 kB / 292.8 MB, free: 11.4 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.04154, allocations: 52.42 kB / 292.8 MB, free: 11.35 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.04154, allocations: 0 / 292.8 MB, free: 11.35 MB / 282.7 MB Notification: Performance of Templates: time 0.01813/0.05966, allocations: 10.27 MB / 303.1 MB, free: 1.195 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/WiredX/WiredX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.597872807993554]