Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1.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.00138/0.00138, 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.001893/0.001893, 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.43/1.43, 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.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1") [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.002025/0.002025, allocations: 63.89 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2259, allocations: 53.32 MB / 432.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002819/0.2287, allocations: 1.578 MB / 433.6 MB, free: 5.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001949/0.2306, allocations: 0.9043 MB / 434.5 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.092e-05/0.2307, allocations: 4 kB / 434.5 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.148e-05/0.2308, allocations: 11.86 kB / 434.6 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.234e-05/0.2309, allocations: 31.78 kB / 434.6 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.2311, allocations: 51.88 kB / 434.6 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002382/0.2314, allocations: 159.6 kB / 434.8 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.326e-05/0.2314, allocations: 21.39 kB / 434.8 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007132/0.2322, allocations: 0.6317 MB / 435.4 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.2323, allocations: 79.69 kB / 435.5 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.379e-05/0.2324, allocations: 12 kB / 435.5 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.575e-05/0.2324, allocations: 15.94 kB / 435.5 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.627e-05/0.2325, allocations: 79.67 kB / 435.6 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.2326, allocations: 135 kB / 435.8 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004619/0.2331, allocations: 459.6 kB / 436.2 MB, free: 3.191 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.2331, allocations: 0 / 436.2 MB, free: 3.191 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2331, allocations: 0 / 436.2 MB, free: 3.191 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.2331, allocations: 0 / 436.2 MB, free: 3.191 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.0009322/0.234, allocations: 0.8294 MB / 437 MB, free: 2.281 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.2341, allocations: 8.031 kB / 437 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.715e-05/0.2342, allocations: 44.66 kB / 437.1 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.2345, allocations: 298.6 kB / 437.4 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.2346, allocations: 4.375 kB / 437.4 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.586e-05/0.2346, allocations: 12.38 kB / 437.4 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003759/0.235, allocations: 184.3 kB / 437.6 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.235, allocations: 0 / 437.6 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.992e-05/0.235, allocations: 4 kB / 437.6 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.235, allocations: 0 / 437.6 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000187/0.2352, allocations: 87.95 kB / 437.7 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009015/0.2361, allocations: 0.5004 MB / 438.2 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.2363, allocations: 98.53 kB / 438.3 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.2365, allocations: 88.92 kB / 438.3 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.835e-06/0.2365, allocations: 4 kB / 438.4 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004098/0.2369, allocations: 250.5 kB / 438.6 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.733e-06/0.2369, allocations: 0 / 438.6 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.001053/0.238, allocations: 0.6033 MB / 439.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.2381, allocations: 195.9 kB / 439.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007394/0.2388, allocations: 0.5718 MB / 440 MB, free: 15.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.054e-05/0.2389, allocations: 29.7 kB / 440 MB, free: 15.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.411e-05/0.239, allocations: 113.1 kB / 440.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.188e-05/0.239, allocations: 39.73 kB / 440.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.2392, allocations: 105.5 kB / 440.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.2393, allocations: 330.8 kB / 440.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.2395, allocations: 79.95 kB / 440.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/0.2397, allocations: 97.67 kB / 440.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004432/0.2401, allocations: 430.7 kB / 441.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2401, allocations: 4 kB / 441.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007647/0.2409, allocations: 0.5051 MB / 441.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.241, allocations: 152.5 kB / 441.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.241, allocations: 0 / 441.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.241, allocations: 7.938 kB / 441.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.779e-05/0.241, allocations: 0 / 441.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.241, allocations: 3.984 kB / 441.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.2412, allocations: 12 kB / 441.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.2413, allocations: 101.2 kB / 441.9 MB, free: 12.99 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.0004063/0.2417, allocations: 404 kB / 442.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-05/0.2418, allocations: 47.72 kB / 442.4 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.2419, allocations: 67.48 kB / 442.4 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.2419, allocations: 0 / 442.4 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2419, allocations: 0 / 442.4 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000408/0.2423, allocations: 264.5 kB / 442.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.372e-05/0.2424, allocations: 15.94 kB / 442.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.2425, allocations: 12 kB / 442.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.2426, allocations: 55.92 kB / 442.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009421/0.2436, allocations: 0.8841 MB / 443.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008975/0.2445, allocations: 0.7374 MB / 444.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002101/0.2447, allocations: 107.9 kB / 444.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005557/0.2452, allocations: 422.8 kB / 444.9 MB, free: 9.805 MB / 350.1 MB Notification: Performance of Backend: time 8.42e-07/0.2452, allocations: 0 / 444.9 MB, free: 9.805 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008088/0.246, allocations: 471.3 kB / 445.4 MB, free: 9.277 MB / 350.1 MB Notification: Performance of SimCode: time 0.001865/0.2479, allocations: 1.494 MB / 446.9 MB, free: 7.676 MB / 350.1 MB Notification: Performance of Templates: time 0.01132/0.2592, allocations: 6.856 MB / 453.7 MB, free: 0.6914 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/MUX2x1/MUX2x1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.232675604056567]