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.001356/0.001356, allocations: 119.6 kB / 18.41 MB, free: 4.688 MB / 14.72 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.00137/0.00137, allocations: 192.3 kB / 21.35 MB, free: 1.75 MB / 14.72 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.419/1.419, allocations: 222.9 MB / 247 MB, free: 4.215 MB / 190.1 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 0.002337/0.002337, allocations: 47.92 kB / 358.7 MB, free: 8.316 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1045, allocations: 49.44 MB / 408.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002861/0.1074, allocations: 1.813 MB / 409.9 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.1095, allocations: 0.9432 MB / 410.9 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.545e-05/0.1096, allocations: 0 / 410.9 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.1097, allocations: 23.78 kB / 410.9 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.485e-05/0.1098, allocations: 39.66 kB / 410.9 MB, free: 4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003275/0.1102, allocations: 91.83 kB / 411 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004039/0.1106, allocations: 331.3 kB / 411.3 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.1107, allocations: 57.59 kB / 411.4 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007729/0.1115, allocations: 0.7135 MB / 412.1 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.1117, allocations: 139.5 kB / 412.2 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.703e-05/0.1118, allocations: 20 kB / 412.3 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.432e-05/0.1119, allocations: 24 kB / 412.3 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.1121, allocations: 147.4 kB / 412.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002373/0.1123, allocations: 238.2 kB / 412.7 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007359/0.1131, allocations: 0.7546 MB / 413.4 MB, free: 1.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1131, allocations: 0 / 413.4 MB, free: 1.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1131, allocations: 0 / 413.4 MB, free: 1.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1131, allocations: 0 / 413.4 MB, free: 1.5 MB / 334.1 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.001277/0.1144, allocations: 1.188 MB / 414.6 MB, free: 216 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.1144, allocations: 12.02 kB / 414.6 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.1145, allocations: 80.47 kB / 414.7 MB, free: 124 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004529/0.115, allocations: 400.9 kB / 415.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.225e-05/0.115, allocations: 16.56 kB / 415.1 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.621e-05/0.1151, allocations: 16.38 kB / 415.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005319/0.1156, allocations: 266.2 kB / 415.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1156, allocations: 0 / 415.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.036e-05/0.1157, allocations: 12 kB / 415.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.1157, allocations: 4 kB / 415.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000313/0.116, allocations: 132.2 kB / 415.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.1172, allocations: 0.7271 MB / 416.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003931/0.1176, allocations: 210.4 kB / 416.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003254/0.1179, allocations: 176.8 kB / 416.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.1179, allocations: 0 / 416.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000599/0.1185, allocations: 389.9 kB / 417 MB, free: 13.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.472e-06/0.1185, allocations: 0 / 417 MB, free: 13.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.00157/0.1201, allocations: 0.9282 MB / 417.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001816/0.1203, allocations: 285 kB / 418.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.1216, allocations: 0.9491 MB / 419.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.88e-05/0.1217, allocations: 33.7 kB / 419.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.1218, allocations: 130.1 kB / 419.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.396e-05/0.1219, allocations: 71.45 kB / 419.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002233/0.1221, allocations: 161.3 kB / 419.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1223, allocations: 338.8 kB / 419.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002836/0.1226, allocations: 128.1 kB / 420 MB, free: 10.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002971/0.1229, allocations: 171.9 kB / 420.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007824/0.1237, allocations: 0.7068 MB / 420.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1237, allocations: 3.938 kB / 420.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001143/0.1248, allocations: 0.7605 MB / 421.6 MB, free: 8.688 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001717/0.125, allocations: 241.6 kB / 421.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.125, allocations: 0 / 421.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.125, allocations: 4 kB / 421.9 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.75e-05/0.1251, allocations: 11.94 kB / 421.9 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1251, allocations: 0 / 421.9 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.1253, allocations: 27.97 kB / 421.9 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/0.1255, allocations: 104.2 kB / 422 MB, free: 8.258 MB / 350.1 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.0006915/0.1262, allocations: 0.6163 MB / 422.6 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.1263, allocations: 83.47 kB / 422.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002116/0.1265, allocations: 134.9 kB / 422.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1265, allocations: 0 / 422.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.1265, allocations: 0 / 422.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1265, allocations: 0 / 422.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001959/0.1285, allocations: 1.421 MB / 424.3 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1285, allocations: 0 / 424.3 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.767e-05/0.1285, allocations: 7.938 kB / 424.3 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1285, allocations: 4 kB / 424.3 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.532e-05/0.1286, allocations: 31.98 kB / 424.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1286, allocations: 0 / 424.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1286, allocations: 0 / 424.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.13, allocations: 0.9691 MB / 425.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006165/0.1306, allocations: 424.1 kB / 425.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.1307, allocations: 24 kB / 425.7 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.1309, allocations: 27.92 kB / 425.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.1311, allocations: 59.94 kB / 425.8 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/0.1312, allocations: 103.9 kB / 425.9 MB, free: 4.109 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000971/0.1322, allocations: 0.686 MB / 426.6 MB, free: 3.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1322, allocations: 0 / 426.6 MB, free: 3.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000398/0.1326, allocations: 99.89 kB / 426.7 MB, free: 3.332 MB / 350.1 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.0002049/0.1328, allocations: 151.1 kB / 426.8 MB, free: 3.172 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.134, allocations: 0.8936 MB / 427.7 MB, free: 2.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.134, allocations: 0 / 427.7 MB, free: 2.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007433/0.1348, allocations: 0.7491 MB / 428.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.1359, allocations: 277.7 kB / 428.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1746/0.3106, allocations: 1.352 MB / 430.1 MB, free: 23.15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.311, allocations: 0.9475 MB / 431.1 MB, free: 22.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.3112, allocations: 54.06 kB / 431.1 MB, free: 22.37 MB / 350.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3112, allocations: 1.062 kB / 431.1 MB, free: 22.37 MB / 350.1 MB Notification: Performance of Templates: time 0.00843/0.3196, allocations: 5.371 MB / 436.5 MB, free: 21.92 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/WiredX/WiredX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.21968979795929]