Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.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.001675/0.001675, 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.001979/0.001979, 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.458/1.458, 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.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 51.92 kB / 379 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2196, allocations: 53.37 MB / 432.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002682/0.2223, allocations: 1.534 MB / 433.9 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.2243, allocations: 0.8498 MB / 434.7 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.3e-05/0.2244, allocations: 4 kB / 434.7 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.189e-05/0.2245, allocations: 11.86 kB / 434.7 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.82e-05/0.2245, allocations: 23.8 kB / 434.8 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.2248, allocations: 55.88 kB / 434.8 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002429/0.225, allocations: 159.7 kB / 435 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.2251, allocations: 21.23 kB / 435 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007262/0.2259, allocations: 0.6356 MB / 435.6 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.226, allocations: 87.62 kB / 435.7 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.232e-05/0.2261, allocations: 8 kB / 435.7 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.393e-05/0.2261, allocations: 16 kB / 435.7 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.2262, allocations: 79.69 kB / 435.8 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.2263, allocations: 95.22 kB / 435.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004648/0.2268, allocations: 465.1 kB / 436.4 MB, free: 2.703 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2268, allocations: 0 / 436.4 MB, free: 2.703 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2268, allocations: 0 / 436.4 MB, free: 2.703 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.2268, allocations: 0 / 436.4 MB, free: 2.703 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008678/0.2277, allocations: 0.7463 MB / 437.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.2277, allocations: 8.031 kB / 437.1 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.481e-05/0.2278, allocations: 44.66 kB / 437.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.2281, allocations: 244.7 kB / 437.4 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.2282, allocations: 8.375 kB / 437.4 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.028e-05/0.2282, allocations: 8.375 kB / 437.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004593/0.2287, allocations: 318.4 kB / 437.7 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.2287, allocations: 0 / 437.7 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.995e-05/0.2287, allocations: 4 kB / 437.7 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.2287, allocations: 4 kB / 437.7 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000276/0.229, allocations: 236.4 kB / 438 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007694/0.2298, allocations: 428.1 kB / 438.4 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003005/0.2301, allocations: 247 kB / 438.6 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002778/0.2303, allocations: 237.4 kB / 438.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.2303, allocations: 0 / 438.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000474/0.2308, allocations: 391.1 kB / 439.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.2308, allocations: 0 / 439.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001215/0.232, allocations: 0.9011 MB / 440.1 MB, free: 14.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.2322, allocations: 195.9 kB / 440.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007349/0.2329, allocations: 0.564 MB / 440.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.2329, allocations: 29.7 kB / 440.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.233, allocations: 117.1 kB / 441 MB, free: 13.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.817e-05/0.2331, allocations: 31.8 kB / 441.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.2332, allocations: 101.5 kB / 441.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.2334, allocations: 338.8 kB / 441.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002561/0.2336, allocations: 224.4 kB / 441.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/0.2339, allocations: 250.2 kB / 442 MB, free: 12.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004648/0.2344, allocations: 441.1 kB / 442.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2344, allocations: 0 / 442.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0008606/0.2352, allocations: 0.6548 MB / 443 MB, free: 11.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.2353, allocations: 156.5 kB / 443.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.2354, allocations: 0 / 443.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.2354, allocations: 4.031 kB / 443.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.256e-05/0.2354, allocations: 4 kB / 443.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.2354, allocations: 160 / 443.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.2356, allocations: 11.98 kB / 443.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/0.2357, allocations: 97.23 kB / 443.3 MB, free: 11.02 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.Mux2x1.inertialDelaySensitive.y,Input0.y,Select.y,Input1.y,Mux2x1.inertialDelaySensitive.t_next,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.x,$PRE.Mux2x1.inertialDelaySensitive.x,Mux2x1.yy,Mux2x1.nextstate,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 5 * 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.0004597/0.2362, allocations: 403.8 kB / 443.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.148e-05/0.2363, allocations: 47.72 kB / 443.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.2364, allocations: 79.28 kB / 443.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2364, allocations: 0 / 443.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2364, allocations: 0 / 443.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004517/0.2368, allocations: 217.3 kB / 444 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.986e-05/0.2369, allocations: 12 kB / 444.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.237, allocations: 15.92 kB / 444.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/0.2372, allocations: 55.92 kB / 444.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001099/0.2383, allocations: 1.026 MB / 445.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001064/0.2394, allocations: 0.8851 MB / 446 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003243/0.2397, allocations: 256.4 kB / 446.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005589/0.2402, allocations: 418.8 kB / 446.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of Backend: time 2.71e-07/0.2402, allocations: 0 / 446.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008644/0.2411, allocations: 0.6092 MB / 447.3 MB, free: 6.668 MB / 350.1 MB Notification: Performance of SimCode: time 0.001746/0.2428, allocations: 1.493 MB / 448.8 MB, free: 5.062 MB / 350.1 MB Notification: Performance of Templates: time 0.01152/0.2544, allocations: 7.496 MB / 456.3 MB, free: 13.49 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/MUX2x1/MUX2x1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.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.359550961002242]