Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001167/0.001167, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 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.001393/0.001393, allocations: 211.6 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.539/1.539, allocations: 230.6 MB / 258.3 MB, free: 7.797 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+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_4.1.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.1.0_Modelica.Electrical.Digital.Examples.WiredX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 47.86 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2168, allocations: 53.37 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002974/0.2197, allocations: 1.736 MB / 434.1 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.2218, allocations: 0.92 MB / 435 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.621e-05/0.2219, allocations: 7.938 kB / 435 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001332/0.222, allocations: 27.78 kB / 435 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.2221, allocations: 39.66 kB / 435.1 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.2225, allocations: 99.81 kB / 435.2 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000372/0.2228, allocations: 295.3 kB / 435.5 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.223, allocations: 41.44 kB / 435.5 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008125/0.2238, allocations: 0.7485 MB / 436.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.224, allocations: 151.4 kB / 436.4 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.811e-05/0.2241, allocations: 24 kB / 436.4 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.63e-05/0.2241, allocations: 24 kB / 436.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.2243, allocations: 143.4 kB / 436.6 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001865/0.2245, allocations: 166.7 kB / 436.7 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007574/0.2252, allocations: 0.7576 MB / 437.5 MB, free: 1.551 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2252, allocations: 0 / 437.5 MB, free: 1.551 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2252, allocations: 0 / 437.5 MB, free: 1.551 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.2252, allocations: 3.938 kB / 437.5 MB, free: 1.547 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.001314/0.2266, allocations: 1.117 MB / 438.6 MB, free: 356 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.2266, allocations: 15.97 kB / 438.6 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.2267, allocations: 76.47 kB / 438.7 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004975/0.2272, allocations: 339.1 kB / 439 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/0.2273, allocations: 12.56 kB / 439.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.615e-05/0.2273, allocations: 20.31 kB / 439.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006984/0.228, allocations: 496.7 kB / 439.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.228, allocations: 0 / 439.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.055e-05/0.2281, allocations: 4 kB / 439.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.2281, allocations: 4 kB / 439.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004607/0.2285, allocations: 369.8 kB / 439.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.2297, allocations: 0.6253 MB / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004862/0.2302, allocations: 396 kB / 440.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004281/0.2306, allocations: 370.4 kB / 441.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.2306, allocations: 7.938 kB / 441.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007514/0.2314, allocations: 0.6128 MB / 441.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.843e-06/0.2314, allocations: 0 / 441.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001846/0.2332, allocations: 1.4 MB / 443.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001702/0.2334, allocations: 285 kB / 443.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.2347, allocations: 0.9491 MB / 444.6 MB, free: 9.828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.37e-05/0.2347, allocations: 37.7 kB / 444.6 MB, free: 9.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.2349, allocations: 134 kB / 444.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.491e-05/0.2349, allocations: 67.48 kB / 444.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002208/0.2352, allocations: 161.3 kB / 444.9 MB, free: 9.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.2353, allocations: 338.8 kB / 445.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004291/0.2357, allocations: 365.8 kB / 445.6 MB, free: 8.676 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000449/0.2362, allocations: 397.5 kB / 446 MB, free: 8.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007888/0.237, allocations: 0.7107 MB / 446.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.237, allocations: 4 kB / 446.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001313/0.2383, allocations: 1.012 MB / 447.7 MB, free: 6.281 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001689/0.2385, allocations: 245.6 kB / 448 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.2385, allocations: 3.984 kB / 448 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.2385, allocations: 4 kB / 448 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.609e-05/0.2385, allocations: 8 kB / 448 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.2385, allocations: 4 kB / 448 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/0.2388, allocations: 27.94 kB / 448 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/0.2389, allocations: 108.1 kB / 448.1 MB, free: 5.84 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.000659/0.2396, allocations: 0.6241 MB / 448.8 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.2397, allocations: 83.47 kB / 448.8 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002041/0.2399, allocations: 130.9 kB / 449 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2399, allocations: 0 / 449 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2399, allocations: 3.938 kB / 449 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000794/0.2407, allocations: 404.9 kB / 449.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.2408, allocations: 27.98 kB / 449.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.241, allocations: 19.98 kB / 449.4 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.2412, allocations: 55.94 kB / 449.5 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001702/0.2429, allocations: 1.554 MB / 451 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001566/0.2444, allocations: 1.302 MB / 452.3 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004891/0.2449, allocations: 397.5 kB / 452.7 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009431/0.2459, allocations: 0.6938 MB / 453.4 MB, free: 136 kB / 350.1 MB Notification: Performance of Backend: time 3.2e-07/0.2459, allocations: 0 / 453.4 MB, free: 136 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001232/0.2471, allocations: 0.9443 MB / 454.4 MB, free: 15.03 MB / 366.1 MB Notification: Performance of SimCode: time 0.002619/0.2497, allocations: 2.168 MB / 456.5 MB, free: 12.72 MB / 366.1 MB Notification: Performance of Templates: time 0.0144/0.2641, allocations: 9.506 MB / 466 MB, free: 3.285 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/WiredX/WiredX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.471788959999685]