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.001186/0.001186, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001382/0.001382, allocations: 161.3 kB / 25.6 MB, free: 8.895 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.065/1.065, allocations: 158.6 MB / 187.5 MB, free: 2.809 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.823e-06/1.823e-06, allocations: 0 / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.616e-05, allocations: 2.312 kB / 251.5 MB, free: 7.246 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002669/0.002695, allocations: 1.76 MB / 253.2 MB, free: 5.473 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.004712, allocations: 0.952 MB / 254.2 MB, free: 4.512 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.253e-05/0.004804, allocations: 3.938 kB / 254.2 MB, free: 4.508 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.00497, allocations: 23.78 kB / 254.2 MB, free: 4.484 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.891e-05/0.005069, allocations: 47.58 kB / 254.3 MB, free: 4.438 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.005425, allocations: 99.75 kB / 254.4 MB, free: 4.34 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003479/0.005773, allocations: 307.3 kB / 254.7 MB, free: 4.039 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.005891, allocations: 33.78 kB / 254.7 MB, free: 4.008 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000756/0.006647, allocations: 0.7877 MB / 255.5 MB, free: 3.219 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.006812, allocations: 135.5 kB / 255.6 MB, free: 3.086 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.673e-05/0.006869, allocations: 20 kB / 255.6 MB, free: 3.066 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.814e-05/0.006917, allocations: 20 kB / 255.6 MB, free: 3.047 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.007037, allocations: 139.4 kB / 255.8 MB, free: 2.91 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.007155, allocations: 115.5 kB / 255.9 MB, free: 2.797 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004682/0.007623, allocations: 0.5643 MB / 256.5 MB, free: 2.23 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.007627, allocations: 0 / 256.5 MB, free: 2.23 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.007629, allocations: 4 kB / 256.5 MB, free: 2.227 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.007634, allocations: 4 kB / 256.5 MB, free: 2.223 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.001063/0.008697, allocations: 1.275 MB / 257.7 MB, free: 0.8555 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.00874, allocations: 15.98 kB / 257.8 MB, free: 0.8398 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.008863, allocations: 96.47 kB / 257.9 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.009186, allocations: 341 kB / 258.2 MB, free: 392 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.266e-05/0.009218, allocations: 16.56 kB / 258.2 MB, free: 376 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.592e-05/0.009254, allocations: 16.38 kB / 258.2 MB, free: 360 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005092/0.009764, allocations: 469.1 kB / 258.7 MB, free: 15.84 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.009773, allocations: 0 / 258.7 MB, free: 15.84 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.009804, allocations: 12 kB / 258.7 MB, free: 15.82 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.009812, allocations: 8 kB / 258.7 MB, free: 15.82 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000246/0.01006, allocations: 321.8 kB / 259 MB, free: 15.45 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008747/0.01093, allocations: 0.6173 MB / 259.6 MB, free: 14.81 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.01124, allocations: 352.6 kB / 260 MB, free: 14.4 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002307/0.01147, allocations: 325.4 kB / 260.3 MB, free: 14.03 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.01149, allocations: 8 kB / 260.3 MB, free: 14.02 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00044/0.01193, allocations: 0.5792 MB / 260.9 MB, free: 13.36 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 2.295e-06/0.01193, allocations: 0 / 260.9 MB, free: 13.36 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.001159/0.01309, allocations: 1.302 MB / 262.2 MB, free: 11.9 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.01321, allocations: 288.9 kB / 262.5 MB, free: 11.56 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.01428, allocations: 0.8774 MB / 263.3 MB, free: 10.67 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.035e-05/0.01432, allocations: 41.69 kB / 263.4 MB, free: 10.62 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.568e-05/0.01441, allocations: 176.8 kB / 263.6 MB, free: 10.44 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.667e-05/0.01448, allocations: 63.52 kB / 263.6 MB, free: 10.38 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.01466, allocations: 171 kB / 263.8 MB, free: 10.2 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.01483, allocations: 0.5157 MB / 264.3 MB, free: 9.676 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.01505, allocations: 305.8 kB / 264.6 MB, free: 9.328 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.01529, allocations: 356.8 kB / 264.9 MB, free: 8.914 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004431/0.01573, allocations: 0.6591 MB / 265.6 MB, free: 8.137 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01573, allocations: 0 / 265.6 MB, free: 8.137 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008361/0.01657, allocations: 0.9184 MB / 266.5 MB, free: 7.113 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001525/0.01672, allocations: 245.6 kB / 266.8 MB, free: 6.824 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.01673, allocations: 4 kB / 266.8 MB, free: 6.82 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.01674, allocations: 3.938 kB / 266.8 MB, free: 6.816 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.756e-05/0.01677, allocations: 7.938 kB / 266.8 MB, free: 6.809 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.01678, allocations: 7.984 kB / 266.8 MB, free: 6.801 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.01695, allocations: 27.89 kB / 266.8 MB, free: 6.773 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.941e-05/0.01705, allocations: 108.1 kB / 266.9 MB, free: 6.668 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.0005534/0.01761, allocations: 0.619 MB / 267.5 MB, free: 5.988 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.01772, allocations: 99.52 kB / 267.6 MB, free: 5.891 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001774/0.01789, allocations: 106.9 kB / 267.7 MB, free: 5.781 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.0179, allocations: 11.92 kB / 267.8 MB, free: 5.77 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.0179, allocations: 0 / 267.8 MB, free: 5.77 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.01791, allocations: 0 / 267.8 MB, free: 5.77 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.01937, allocations: 1.489 MB / 269.2 MB, free: 4.148 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.01937, allocations: 0 / 269.2 MB, free: 4.148 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.16e-05/0.01938, allocations: 4 kB / 269.2 MB, free: 4.145 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.01938, allocations: 0 / 269.2 MB, free: 4.145 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.081e-05/0.01942, allocations: 39.92 kB / 269.3 MB, free: 4.105 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.01943, allocations: 0 / 269.3 MB, free: 4.105 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.01943, allocations: 0 / 269.3 MB, free: 4.105 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.02052, allocations: 1.209 MB / 270.5 MB, free: 2.777 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005633/0.02108, allocations: 372.9 kB / 270.9 MB, free: 2.402 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.797e-05/0.02116, allocations: 23.94 kB / 270.9 MB, free: 2.379 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.02132, allocations: 23.98 kB / 270.9 MB, free: 2.355 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.02142, allocations: 43.95 kB / 270.9 MB, free: 2.312 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.02153, allocations: 119.8 kB / 271.1 MB, free: 2.195 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0005228/0.02205, allocations: 486.5 kB / 271.5 MB, free: 1.723 MB / 250.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.02205, allocations: 4 kB / 271.5 MB, free: 1.719 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003521/0.0224, allocations: 88 kB / 271.6 MB, free: 1.633 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.0001978/0.0226, allocations: 147.2 kB / 271.8 MB, free: 1.48 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007527/0.02335, allocations: 1.146 MB / 272.9 MB, free: 136 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.02335, allocations: 0 / 272.9 MB, free: 136 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007501/0.0241, allocations: 0.8167 MB / 273.7 MB, free: 15.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00079/0.02489, allocations: 311.9 kB / 274 MB, free: 14.88 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.02652, allocations: 1.436 MB / 275.5 MB, free: 13.35 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/0.02668, allocations: 156.1 kB / 275.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001979/0.02688, allocations: 85.28 kB / 275.7 MB, free: 13.1 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006155/0.02749, allocations: 322 kB / 276 MB, free: 12.78 MB / 266.7 MB Notification: Performance of SimCode: time 1.192e-06/0.02749, allocations: 0 / 276 MB, free: 12.78 MB / 266.7 MB Notification: Performance of Templates: time 0.0131/0.04059, allocations: 9.617 MB / 285.6 MB, free: 3.145 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.0612620329484344]