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.001076/0.001076, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001867/0.001867, allocations: 145.1 kB / 24.54 MB, free: 32 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.094/1.094, allocations: 173.3 MB / 201.1 MB, free: 9.34 MB / 186.7 MB " [Timeout remaining time 179] 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 2.305e-06/2.305e-06, allocations: 0 / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.14e-05/3.37e-05, allocations: 2.312 kB / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002669/0.002703, allocations: 1.779 MB / 269.8 MB, free: 4.641 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.004611, allocations: 0.9237 MB / 270.7 MB, free: 3.711 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.004724, allocations: 11.94 kB / 270.7 MB, free: 3.699 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.004911, allocations: 19.78 kB / 270.7 MB, free: 3.68 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.043e-05/0.005002, allocations: 39.66 kB / 270.8 MB, free: 3.641 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000404/0.005406, allocations: 103.8 kB / 270.9 MB, free: 3.539 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003357/0.005742, allocations: 295.3 kB / 271.1 MB, free: 3.25 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.005883, allocations: 33.72 kB / 271.2 MB, free: 3.215 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007405/0.006624, allocations: 0.7915 MB / 272 MB, free: 2.422 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.006804, allocations: 135.5 kB / 272.1 MB, free: 2.289 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.598e-05/0.00686, allocations: 24 kB / 272.1 MB, free: 2.266 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.681e-05/0.006907, allocations: 20 kB / 272.1 MB, free: 2.246 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.007036, allocations: 139.4 kB / 272.3 MB, free: 2.109 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.007178, allocations: 115.5 kB / 272.4 MB, free: 1.996 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004978/0.007676, allocations: 0.5721 MB / 273 MB, free: 1.422 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.007681, allocations: 0 / 273 MB, free: 1.422 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.007682, allocations: 0 / 273 MB, free: 1.422 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.007691, allocations: 0 / 273 MB, free: 1.422 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.001337/0.009028, allocations: 1.259 MB / 274.2 MB, free: 76 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.009081, allocations: 12.92 kB / 274.2 MB, free: 64 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.009242, allocations: 100.5 kB / 274.3 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.009593, allocations: 345.1 kB / 274.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.711e-05/0.00963, allocations: 16.56 kB / 274.7 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.524e-05/0.009666, allocations: 16.38 kB / 274.7 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005455/0.01021, allocations: 481.2 kB / 275.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.01023, allocations: 3.984 kB / 275.2 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/0.01026, allocations: 11.98 kB / 275.2 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.01027, allocations: 4 kB / 275.2 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000252/0.01052, allocations: 340.6 kB / 275.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.01168, allocations: 0.8118 MB / 276.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003748/0.01206, allocations: 372.6 kB / 276.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000238/0.0123, allocations: 349.2 kB / 277 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.01231, allocations: 0 / 277 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004476/0.01276, allocations: 0.6097 MB / 277.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.693e-06/0.01276, allocations: 0 / 277.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0012/0.01396, allocations: 1.357 MB / 279 MB, free: 10.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.01407, allocations: 285 kB / 279.3 MB, free: 10.42 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.0153, allocations: 1.123 MB / 280.4 MB, free: 9.285 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.004e-05/0.01534, allocations: 29.7 kB / 280.4 MB, free: 9.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.01545, allocations: 180.8 kB / 280.6 MB, free: 9.066 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.096e-05/0.01551, allocations: 67.53 kB / 280.7 MB, free: 9 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.01566, allocations: 163 kB / 280.8 MB, free: 8.832 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.01582, allocations: 0.5079 MB / 281.4 MB, free: 8.312 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002622/0.01608, allocations: 337.8 kB / 281.7 MB, free: 7.934 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/0.01632, allocations: 376.8 kB / 282.1 MB, free: 7.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004276/0.01674, allocations: 0.6749 MB / 282.7 MB, free: 6.707 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.01675, allocations: 3.984 kB / 282.7 MB, free: 6.703 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007344/0.01748, allocations: 0.9613 MB / 283.7 MB, free: 5.637 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001155/0.0176, allocations: 252.3 kB / 283.9 MB, free: 5.344 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.0176, allocations: 0 / 283.9 MB, free: 5.344 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.01763, allocations: 8.094 kB / 283.9 MB, free: 5.336 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.417e-05/0.01766, allocations: 7.938 kB / 284 MB, free: 5.328 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.01767, allocations: 4 kB / 284 MB, free: 5.324 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.01784, allocations: 31.88 kB / 284 MB, free: 5.293 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.875e-05/0.01793, allocations: 116.1 kB / 284.1 MB, free: 5.18 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.0004317/0.01836, allocations: 0.6111 MB / 284.7 MB, free: 4.508 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.001e-05/0.01845, allocations: 95.53 kB / 284.8 MB, free: 4.414 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.01859, allocations: 110.8 kB / 284.9 MB, free: 4.305 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.01859, allocations: 3.984 kB / 284.9 MB, free: 4.301 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.0186, allocations: 8 kB / 284.9 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.0186, allocations: 0 / 284.9 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.02006, allocations: 1.68 MB / 286.6 MB, free: 2.473 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.02006, allocations: 0 / 286.6 MB, free: 2.473 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.711e-05/0.02008, allocations: 7.938 kB / 286.6 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.02008, allocations: 3.984 kB / 286.6 MB, free: 2.461 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-05/0.02012, allocations: 31.98 kB / 286.7 MB, free: 2.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.02012, allocations: 0 / 286.7 MB, free: 2.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.02012, allocations: 0 / 286.7 MB, free: 2.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009359/0.02106, allocations: 1.248 MB / 287.9 MB, free: 1.062 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004572/0.02152, allocations: 388.8 kB / 288.3 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.042e-05/0.02159, allocations: 24 kB / 288.3 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.02171, allocations: 19.98 kB / 288.3 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.02185, allocations: 59.88 kB / 288.4 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.118e-05/0.02193, allocations: 107.9 kB / 288.5 MB, free: 480 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0007165/0.02265, allocations: 0.7288 MB / 289.2 MB, free: 15.74 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.02265, allocations: 0 / 289.2 MB, free: 15.74 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003397/0.02299, allocations: 92 kB / 289.3 MB, free: 15.65 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.000203/0.02319, allocations: 143.2 kB / 289.4 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000869/0.02406, allocations: 1.197 MB / 290.6 MB, free: 14.1 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.02406, allocations: 0 / 290.6 MB, free: 14.1 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004331/0.0245, allocations: 0.848 MB / 291.5 MB, free: 13.1 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006959/0.02519, allocations: 293.1 kB / 291.8 MB, free: 12.84 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.02671, allocations: 1.464 MB / 293.2 MB, free: 11.29 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.02684, allocations: 144.2 kB / 293.4 MB, free: 11.13 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001826/0.02702, allocations: 93.27 kB / 293.5 MB, free: 11.04 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.449e-05/0.02711, allocations: 52.42 kB / 293.5 MB, free: 10.98 MB / 282.7 MB Notification: Performance of SimCode: time 8.72e-07/0.02711, allocations: 0 / 293.5 MB, free: 10.98 MB / 282.7 MB Notification: Performance of Templates: time 0.01161/0.03871, allocations: 10.3 MB / 303.8 MB, free: 0.8008 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) [Timeout 240] 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","",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.3255721027962863]