Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.WiredX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001263/0.001263, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001399/0.001399, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.412/1.412, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Digital.Examples.WiredX") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 75.83 kB / 378.8 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2215, allocations: 53.3 MB / 432.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002989/0.2245, allocations: 1.844 MB / 433.9 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.2265, allocations: 0.9823 MB / 434.9 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.505e-05/0.2266, allocations: 0 / 434.9 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.2267, allocations: 27.72 kB / 434.9 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.789e-05/0.2268, allocations: 39.66 kB / 434.9 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003163/0.2272, allocations: 95.81 kB / 435 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004084/0.2276, allocations: 299.3 kB / 435.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.2277, allocations: 33.67 kB / 435.4 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008176/0.2285, allocations: 0.7408 MB / 436.1 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.2287, allocations: 163.3 kB / 436.3 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.049e-05/0.2288, allocations: 20 kB / 436.3 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.506e-05/0.2289, allocations: 20 kB / 436.3 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.229, allocations: 135.4 kB / 436.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002337/0.2292, allocations: 238.3 kB / 436.7 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007415/0.23, allocations: 0.7599 MB / 437.4 MB, free: 1.992 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.23, allocations: 0 / 437.4 MB, free: 1.992 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.23, allocations: 0 / 437.4 MB, free: 1.992 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.23, allocations: 4 kB / 437.4 MB, free: 1.988 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.001309/0.2313, allocations: 1.192 MB / 438.6 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.2313, allocations: 8.031 kB / 438.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.2315, allocations: 80.47 kB / 438.7 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004901/0.2319, allocations: 396.9 kB / 439.1 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.232, allocations: 16.56 kB / 439.1 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.184e-05/0.232, allocations: 20.38 kB / 439.1 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005422/0.2326, allocations: 255.1 kB / 439.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.2326, allocations: 0 / 439.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.125e-05/0.2326, allocations: 15.94 kB / 439.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.2326, allocations: 4 kB / 439.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003124/0.2329, allocations: 140.1 kB / 439.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.2342, allocations: 0.7349 MB / 440.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003467/0.2345, allocations: 154.4 kB / 440.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002736/0.2348, allocations: 132.8 kB / 440.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.2348, allocations: 4 kB / 440.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005842/0.2354, allocations: 386.4 kB / 440.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.703e-06/0.2354, allocations: 0 / 440.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001543/0.2369, allocations: 0.9323 MB / 441.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001771/0.2371, allocations: 281 kB / 442.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/0.2384, allocations: 0.9491 MB / 443.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.618e-05/0.2385, allocations: 37.7 kB / 443.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.909e-05/0.2386, allocations: 130 kB / 443.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.621e-05/0.2387, allocations: 71.52 kB / 443.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002193/0.2389, allocations: 165.3 kB / 443.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.239, allocations: 338.8 kB / 443.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002741/0.2393, allocations: 120.2 kB / 443.9 MB, free: 11.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002983/0.2396, allocations: 171.8 kB / 444.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007662/0.2404, allocations: 0.699 MB / 444.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2404, allocations: 0 / 444.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001106/0.2415, allocations: 0.7565 MB / 445.6 MB, free: 9.277 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001797/0.2417, allocations: 249.6 kB / 445.8 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2417, allocations: 0 / 445.8 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.2417, allocations: 0 / 445.8 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.371e-05/0.2417, allocations: 16.08 kB / 445.8 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.2417, allocations: 3.938 kB / 445.8 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/0.242, allocations: 27.94 kB / 445.9 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/0.2421, allocations: 112.1 kB / 446 MB, free: 8.828 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.0006593/0.2427, allocations: 0.6123 MB / 446.6 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.2429, allocations: 83.53 kB / 446.7 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.2431, allocations: 122.9 kB / 446.8 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.2431, allocations: 11.97 kB / 446.8 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2431, allocations: 0 / 446.8 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006671/0.2437, allocations: 420.1 kB / 447.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.2439, allocations: 24 kB / 447.2 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.244, allocations: 19.98 kB / 447.2 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.2442, allocations: 59.88 kB / 447.3 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001507/0.2457, allocations: 1.314 MB / 448.6 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001396/0.2471, allocations: 1.047 MB / 449.7 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003167/0.2474, allocations: 159.9 kB / 449.8 MB, free: 4.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009313/0.2484, allocations: 0.6899 MB / 450.5 MB, free: 3.984 MB / 350.1 MB Notification: Performance of Backend: time 4.61e-07/0.2484, allocations: 0 / 450.5 MB, free: 3.984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.2494, allocations: 0.7075 MB / 451.2 MB, free: 3.176 MB / 350.1 MB Notification: Performance of SimCode: time 0.002631/0.2521, allocations: 2.187 MB / 453.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of Templates: time 0.0137/0.2658, allocations: 8.666 MB / 462.1 MB, free: 8.195 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.WiredX.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.WiredX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/WiredX/WiredX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.19056990230456]