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.001651/0.001651, allocations: 123.4 kB / 18.46 MB, free: 4.449 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.001869/0.001869, allocations: 192.3 kB / 21.4 MB, free: 1.52 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.406/1.406, allocations: 225.6 MB / 249.8 MB, free: 3.613 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.001494/0.001494, allocations: 51.92 kB / 366.8 MB, free: 336 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1085, allocations: 52.15 MB / 419 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003294/0.1117, allocations: 1.82 MB / 420.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002213/0.114, allocations: 0.9393 MB / 421.7 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.751e-05/0.114, allocations: 4 kB / 421.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001533/0.1142, allocations: 23.72 kB / 421.7 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.1143, allocations: 39.7 kB / 421.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.1147, allocations: 99.83 kB / 421.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004014/0.1151, allocations: 295.3 kB / 422.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.1152, allocations: 45.59 kB / 422.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008732/0.1161, allocations: 0.7446 MB / 423 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002387/0.1163, allocations: 155.4 kB / 423.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.627e-05/0.1164, allocations: 20 kB / 423.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.949e-05/0.1165, allocations: 20 kB / 423.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.1167, allocations: 143.4 kB / 423.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002771/0.1169, allocations: 242.2 kB / 423.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007656/0.1177, allocations: 0.7468 MB / 424.3 MB, free: 6.746 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1177, allocations: 4 kB / 424.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1177, allocations: 0 / 424.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1177, allocations: 0 / 424.3 MB, free: 6.742 MB / 350.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.001386/0.1191, allocations: 1.192 MB / 425.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.1191, allocations: 12.03 kB / 425.5 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.1193, allocations: 80.47 kB / 425.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005147/0.1198, allocations: 408.8 kB / 426 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.335e-05/0.1198, allocations: 16.55 kB / 426 MB, free: 4.902 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.975e-05/0.1199, allocations: 20.38 kB / 426 MB, free: 4.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005698/0.1205, allocations: 250.2 kB / 426.2 MB, free: 4.629 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1205, allocations: 4 kB / 426.2 MB, free: 4.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.18e-05/0.1205, allocations: 8 kB / 426.2 MB, free: 4.617 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.1205, allocations: 4 kB / 426.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/0.1208, allocations: 136.2 kB / 426.4 MB, free: 4.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.122, allocations: 0.7349 MB / 427.1 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003712/0.1224, allocations: 162.4 kB / 427.3 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/0.1227, allocations: 128.8 kB / 427.4 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.1227, allocations: 0 / 427.4 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006725/0.1234, allocations: 389.9 kB / 427.8 MB, free: 2.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.713e-06/0.1234, allocations: 4 kB / 427.8 MB, free: 2.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001699/0.1251, allocations: 0.9282 MB / 428.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001966/0.1253, allocations: 289 kB / 429 MB, free: 1.648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.1266, allocations: 0.9491 MB / 429.9 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.361e-05/0.1267, allocations: 37.7 kB / 430 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.1268, allocations: 130.1 kB / 430.1 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.215e-05/0.1269, allocations: 59.59 kB / 430.2 MB, free: 472 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002671/0.1271, allocations: 165.3 kB / 430.3 MB, free: 300 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002264/0.1274, allocations: 330.8 kB / 430.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003013/0.1277, allocations: 128.2 kB / 430.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003229/0.128, allocations: 170 kB / 430.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008207/0.1288, allocations: 0.7029 MB / 431.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.1288, allocations: 3.938 kB / 431.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00118/0.13, allocations: 0.7605 MB / 432.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001885/0.1302, allocations: 245.6 kB / 432.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1302, allocations: 0 / 432.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.963e-05/0.1302, allocations: 7.938 kB / 432.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.663e-05/0.1303, allocations: 4 kB / 432.7 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.1303, allocations: 11.97 kB / 432.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/0.1305, allocations: 27.92 kB / 432.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/0.1306, allocations: 100.2 kB / 432.8 MB, free: 13.59 MB / 366.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.0007116/0.1314, allocations: 0.6169 MB / 433.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.1315, allocations: 87.5 kB / 433.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002162/0.1317, allocations: 130.9 kB / 433.6 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.1317, allocations: 0 / 433.6 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.1317, allocations: 0 / 433.6 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1317, allocations: 0 / 433.6 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/0.1337, allocations: 1.433 MB / 435.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1337, allocations: 0 / 435.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.735e-05/0.1338, allocations: 4 kB / 435.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1338, allocations: 0 / 435.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.533e-05/0.1338, allocations: 31.98 kB / 435.1 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.104e-06/0.1338, allocations: 7.984 kB / 435.1 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1338, allocations: 0 / 435.1 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.1352, allocations: 0.972 MB / 436.1 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006479/0.1358, allocations: 420.1 kB / 436.5 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.136, allocations: 20 kB / 436.5 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.1362, allocations: 23.98 kB / 436.5 MB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/0.1364, allocations: 67.8 kB / 436.6 MB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/0.1365, allocations: 111.9 kB / 436.7 MB, free: 9.422 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001013/0.1375, allocations: 0.6899 MB / 437.4 MB, free: 8.738 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1375, allocations: 0 / 437.4 MB, free: 8.738 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004302/0.1379, allocations: 99.89 kB / 437.5 MB, free: 8.641 MB / 366.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.0002155/0.1382, allocations: 147.2 kB / 437.6 MB, free: 8.484 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00112/0.1393, allocations: 0.7647 MB / 438.4 MB, free: 7.621 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1393, allocations: 0 / 438.4 MB, free: 7.621 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00068/0.14, allocations: 0.6085 MB / 439 MB, free: 6.914 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.1411, allocations: 271.2 kB / 439.3 MB, free: 6.672 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002312/0.1434, allocations: 1.352 MB / 440.6 MB, free: 5.285 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008223/0.1443, allocations: 0.9481 MB / 441.6 MB, free: 4.309 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.1444, allocations: 55.34 kB / 441.6 MB, free: 4.254 MB / 366.1 MB Notification: Performance of SimCode: time 9.72e-07/0.1444, allocations: 0 / 441.6 MB, free: 4.254 MB / 366.1 MB Notification: Performance of Templates: time 0.1816/0.326, allocations: 5.376 MB / 447 MB, free: 30.02 MB / 366.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.02547266590409]