Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001616/0.001616, allocations: 105.4 kB / 19.81 MB, free: 2.516 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.002139/0.002139, allocations: 215.8 kB / 23 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 230.2 MB / 256.2 MB, free: 8.559 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 67.89 kB / 376.5 MB, free: 3.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3261, allocations: 53.32 MB / 429.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.003034/0.3291, allocations: 1.588 MB / 431.4 MB, free: 5.941 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00221/0.3313, allocations: 0.9082 MB / 432.3 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.724e-05/0.3314, allocations: 0 / 432.3 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.3315, allocations: 11.86 kB / 432.3 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.3316, allocations: 23.86 kB / 432.3 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002945/0.3319, allocations: 47.88 kB / 432.4 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002669/0.3321, allocations: 159.7 kB / 432.5 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.3323, allocations: 21.33 kB / 432.5 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007867/0.333, allocations: 0.6278 MB / 433.2 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.3332, allocations: 91.61 kB / 433.3 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.894e-05/0.3333, allocations: 16 kB / 433.3 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.864e-05/0.3333, allocations: 12 kB / 433.3 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.3334, allocations: 75.69 kB / 433.4 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.3335, allocations: 135 kB / 433.5 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004946/0.334, allocations: 459.3 kB / 433.9 MB, free: 3.363 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.3341, allocations: 4 kB / 433.9 MB, free: 3.359 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3341, allocations: 0 / 433.9 MB, free: 3.359 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.3341, allocations: 0 / 433.9 MB, free: 3.359 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.001006/0.3351, allocations: 0.8216 MB / 434.8 MB, free: 2.457 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.3351, allocations: 12.03 kB / 434.8 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.476e-05/0.3352, allocations: 48.66 kB / 434.8 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/0.3356, allocations: 302.5 kB / 435.1 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.3356, allocations: 8.312 kB / 435.1 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/0.3357, allocations: 12.38 kB / 435.1 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003947/0.3361, allocations: 173.8 kB / 435.3 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.3361, allocations: 0 / 435.3 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.3361, allocations: 4 kB / 435.3 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.3361, allocations: 4 kB / 435.3 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/0.3363, allocations: 83.95 kB / 435.4 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008127/0.3371, allocations: 0.5004 MB / 435.9 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.3373, allocations: 94.53 kB / 436 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.3375, allocations: 88.88 kB / 436.1 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.3375, allocations: 0 / 436.1 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004234/0.3379, allocations: 253.9 kB / 436.3 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.3379, allocations: 0 / 436.3 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.001079/0.339, allocations: 0.6151 MB / 436.9 MB, free: 116 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001586/0.3392, allocations: 195.9 kB / 437.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007501/0.3399, allocations: 0.5601 MB / 437.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.34, allocations: 33.7 kB / 437.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.614e-05/0.3401, allocations: 117.1 kB / 437.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.477e-05/0.3401, allocations: 27.8 kB / 437.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.3403, allocations: 109.5 kB / 438 MB, free: 15.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3405, allocations: 326.8 kB / 438.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.3406, allocations: 83.95 kB / 438.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.3408, allocations: 93.73 kB / 438.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004811/0.3413, allocations: 441.3 kB / 438.9 MB, free: 14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3413, allocations: 0 / 438.9 MB, free: 14 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007684/0.3421, allocations: 0.5058 MB / 439.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000133/0.3422, allocations: 152.5 kB / 439.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3422, allocations: 3.984 kB / 439.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.3422, allocations: 0 / 439.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.081e-05/0.3422, allocations: 0 / 439.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.3422, allocations: 8.141 kB / 439.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.3424, allocations: 12 kB / 439.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.3425, allocations: 101.2 kB / 439.7 MB, free: 13.16 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.0004007/0.3429, allocations: 403.8 kB / 440.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.333e-05/0.343, allocations: 55.7 kB / 440.1 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.3431, allocations: 67.48 kB / 440.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.3431, allocations: 0 / 440.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3431, allocations: 0 / 440.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3431, allocations: 0 / 440.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.3444, allocations: 0.9673 MB / 441.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3444, allocations: 0 / 441.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.378e-06/0.3444, allocations: 0 / 441.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3444, allocations: 3.938 kB / 441.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.43e-05/0.3444, allocations: 19.98 kB / 441.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3444, allocations: 4 kB / 441.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.3444, allocations: 3.938 kB / 441.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008654/0.3453, allocations: 0.6598 MB / 441.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003475/0.3456, allocations: 264.5 kB / 442.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.62e-05/0.3457, allocations: 8 kB / 442.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.3458, allocations: 15.98 kB / 442.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.346, allocations: 55.88 kB / 442.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/0.3461, allocations: 109.3 kB / 442.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005364/0.3466, allocations: 418.8 kB / 442.7 MB, free: 9.949 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3466, allocations: 4 kB / 442.7 MB, free: 9.945 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003185/0.347, allocations: 52 kB / 442.8 MB, free: 9.895 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.0001796/0.3471, allocations: 119.1 kB / 442.9 MB, free: 9.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006445/0.3478, allocations: 480.9 kB / 443.3 MB, free: 9.238 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3478, allocations: 0 / 443.3 MB, free: 9.238 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004099/0.3482, allocations: 389 kB / 443.7 MB, free: 8.797 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008413/0.349, allocations: 192.8 kB / 443.9 MB, free: 8.629 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.3505, allocations: 0.7672 MB / 444.7 MB, free: 7.836 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006393/0.3511, allocations: 0.8182 MB / 445.5 MB, free: 6.992 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.966e-05/0.3512, allocations: 20.86 kB / 445.5 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.638e-05/0.3513, allocations: 15.44 kB / 445.5 MB, free: 6.953 MB / 350.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3513, allocations: 0 / 445.5 MB, free: 6.953 MB / 350.1 MB Notification: Performance of Templates: time 0.01293/0.3642, allocations: 7.491 MB / 453 MB, free: 15.33 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/MUX2x1/MUX2x1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.659994802437723]