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.001605/0.001605, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.00178/0.00178, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.391/1.391, allocations: 230.6 MB / 258.3 MB, free: 7.965 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.001456/0.001456, allocations: 51.92 kB / 379 MB, free: 2.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2152, allocations: 53.35 MB / 432.4 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.00279/0.218, allocations: 1.588 MB / 434 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.22, allocations: 0.9082 MB / 434.9 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.745e-05/0.22, allocations: 8 kB / 434.9 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.993e-05/0.2201, allocations: 15.8 kB / 434.9 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.295e-05/0.2202, allocations: 23.86 kB / 434.9 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.2205, allocations: 51.88 kB / 435 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.2207, allocations: 167.6 kB / 435.1 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.333e-05/0.2208, allocations: 13.59 kB / 435.1 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007159/0.2215, allocations: 0.6356 MB / 435.8 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.2217, allocations: 79.69 kB / 435.9 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.369e-05/0.2217, allocations: 12 kB / 435.9 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.631e-05/0.2218, allocations: 16 kB / 435.9 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.987e-05/0.2218, allocations: 79.62 kB / 436 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.222, allocations: 135 kB / 436.1 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000466/0.2225, allocations: 464.3 kB / 436.6 MB, free: 2.703 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.2225, allocations: 0 / 436.6 MB, free: 2.703 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2225, allocations: 0 / 436.6 MB, free: 2.703 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.2225, allocations: 0 / 436.6 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.0008726/0.2234, allocations: 0.7532 MB / 437.3 MB, free: 1.891 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.2234, allocations: 8.031 kB / 437.3 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.277e-05/0.2235, allocations: 44.66 kB / 437.4 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/0.2238, allocations: 240.8 kB / 437.6 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.2238, allocations: 8.375 kB / 437.6 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/0.2239, allocations: 12.38 kB / 437.6 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003576/0.2242, allocations: 173.8 kB / 437.8 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.2242, allocations: 0 / 437.8 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.2243, allocations: 4 kB / 437.8 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.2243, allocations: 4 kB / 437.8 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.2244, allocations: 79.95 kB / 437.9 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008087/0.2252, allocations: 491.4 kB / 438.3 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.2255, allocations: 98.48 kB / 438.4 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.2256, allocations: 80.88 kB / 438.5 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.453e-06/0.2256, allocations: 0 / 438.5 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003971/0.226, allocations: 246.6 kB / 438.8 MB, free: 328 kB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.226, allocations: 8 kB / 438.8 MB, free: 320 kB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.001023/0.227, allocations: 0.6062 MB / 439.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.2272, allocations: 195.9 kB / 439.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007239/0.2279, allocations: 0.5601 MB / 440.1 MB, free: 14.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.077e-05/0.2279, allocations: 33.7 kB / 440.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.154e-05/0.228, allocations: 121 kB / 440.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.657e-05/0.2281, allocations: 31.8 kB / 440.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.2282, allocations: 101.5 kB / 440.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.2284, allocations: 334.8 kB / 440.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.2286, allocations: 79.97 kB / 440.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.2287, allocations: 97.66 kB / 440.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004461/0.2292, allocations: 434.6 kB / 441.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.2292, allocations: 4.062 kB / 441.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007076/0.2299, allocations: 0.4942 MB / 441.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001236/0.23, allocations: 152.5 kB / 442 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.23, allocations: 4.031 kB / 442 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.23, allocations: 4 kB / 442 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.017e-05/0.23, allocations: 7.875 kB / 442 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.2301, allocations: 0 / 442 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.2302, allocations: 16 kB / 442 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/0.2303, allocations: 97.34 kB / 442.1 MB, free: 12.72 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.0004218/0.2307, allocations: 400 kB / 442.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.587e-05/0.2308, allocations: 47.72 kB / 442.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.2309, allocations: 71.41 kB / 442.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2309, allocations: 4 kB / 442.6 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2309, allocations: 0 / 442.6 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.2309, allocations: 3.984 kB / 442.6 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.2321, allocations: 0.9312 MB / 443.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.2321, allocations: 0 / 443.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.37e-05/0.2321, allocations: 4 kB / 443.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2322, allocations: 0 / 443.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.695e-05/0.2322, allocations: 19.98 kB / 443.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2322, allocations: 0 / 443.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2322, allocations: 7.938 kB / 443.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008363/0.233, allocations: 0.6598 MB / 444.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004187/0.2334, allocations: 217.3 kB / 444.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.483e-05/0.2335, allocations: 12 kB / 444.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.2337, allocations: 11.98 kB / 444.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.2338, allocations: 63.81 kB / 444.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.2339, allocations: 101.2 kB / 444.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005379/0.2344, allocations: 426.8 kB / 445.1 MB, free: 9.613 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2344, allocations: 0 / 445.1 MB, free: 9.613 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003031/0.2348, allocations: 51.94 kB / 445.1 MB, free: 9.562 MB / 350.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: 14 ($whenCondition1,$whenCondition2,Mux2x1.nextstate,Mux2x1.yy,Mux2x1.inertialDelaySensitive.x,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.t_next,Input1.y,Select.y,Input0.y) * Number of discrete states: 14 (Input1.y,Select.y,Input0.y,Mux2x1.yy,Mux2x1.nextstate,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.t_next,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,Mux2x1.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0001623/0.2349, allocations: 123.3 kB / 445.2 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006358/0.2355, allocations: 472.9 kB / 445.7 MB, free: 8.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2356, allocations: 0 / 445.7 MB, free: 8.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003982/0.2359, allocations: 388.9 kB / 446.1 MB, free: 8.469 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008361/0.2368, allocations: 196.3 kB / 446.3 MB, free: 8.289 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.238, allocations: 0.8002 MB / 447.1 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005287/0.2386, allocations: 0.8182 MB / 447.9 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.2386, allocations: 15.44 kB / 447.9 MB, free: 6.598 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2386, allocations: 8 kB / 447.9 MB, free: 6.59 MB / 350.1 MB Notification: Performance of Templates: time 0.00661/0.2452, allocations: 4.262 MB / 452.2 MB, free: 2.234 MB / 350.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: 7.778726035961881]