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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00111/0.00111, allocations: 111.1 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001281/0.001282, allocations: 206.8 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 247.6 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 67.88 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2231, allocations: 50.53 MB / 409.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002307/0.2254, allocations: 1.568 MB / 411.5 MB, free: 40 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.2272, allocations: 0.9043 MB / 412.4 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.124e-05/0.2273, allocations: 0 / 412.4 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.957e-05/0.2274, allocations: 7.875 kB / 412.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.824e-05/0.2275, allocations: 27.8 kB / 412.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002507/0.2277, allocations: 47.88 kB / 412.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.228, allocations: 175.7 kB / 412.7 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.802e-05/0.2281, allocations: 29.36 kB / 412.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005828/0.2286, allocations: 0.6278 MB / 413.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.2288, allocations: 83.62 kB / 413.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.905e-05/0.2289, allocations: 12 kB / 413.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.63e-05/0.2289, allocations: 12 kB / 413.4 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.626e-05/0.229, allocations: 75.69 kB / 413.5 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.2291, allocations: 135 kB / 413.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000387/0.2295, allocations: 458 kB / 414.1 MB, free: 13.45 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.2295, allocations: 0 / 414.1 MB, free: 13.45 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.083e-06/0.2296, allocations: 0 / 414.1 MB, free: 13.45 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.2296, allocations: 0 / 414.1 MB, free: 13.45 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.0007277/0.2303, allocations: 0.8293 MB / 414.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.2303, allocations: 8.031 kB / 414.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.757e-05/0.2304, allocations: 48.66 kB / 415 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.2307, allocations: 298.6 kB / 415.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.2307, allocations: 8.375 kB / 415.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.399e-05/0.2308, allocations: 12.31 kB / 415.3 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003332/0.2311, allocations: 169.9 kB / 415.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.2311, allocations: 3.938 kB / 415.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/0.2312, allocations: 7.984 kB / 415.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.2312, allocations: 0 / 415.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.2314, allocations: 83.95 kB / 415.5 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006574/0.232, allocations: 0.5042 MB / 416 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.2322, allocations: 126.5 kB / 416.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.2324, allocations: 112.9 kB / 416.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-06/0.2324, allocations: 3.984 kB / 416.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003371/0.2328, allocations: 246.6 kB / 416.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.2328, allocations: 0 / 416.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009201/0.2337, allocations: 0.6072 MB / 417.1 MB, free: 10.15 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/0.2338, allocations: 199.9 kB / 417.3 MB, free: 9.914 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000648/0.2345, allocations: 0.564 MB / 417.9 MB, free: 9.332 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.2345, allocations: 29.7 kB / 417.9 MB, free: 9.297 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.177e-05/0.2346, allocations: 117.1 kB / 418 MB, free: 9.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.2346, allocations: 27.81 kB / 418.1 MB, free: 9.152 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.2348, allocations: 105.5 kB / 418.2 MB, free: 9.043 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.2349, allocations: 330.8 kB / 418.5 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.2351, allocations: 83.95 kB / 418.6 MB, free: 8.629 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.2352, allocations: 101.4 kB / 418.7 MB, free: 8.527 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000388/0.2356, allocations: 438.5 kB / 419.1 MB, free: 8.031 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2356, allocations: 0 / 419.1 MB, free: 8.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006579/0.2363, allocations: 0.502 MB / 419.6 MB, free: 7.492 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.488e-05/0.2364, allocations: 155.5 kB / 419.7 MB, free: 7.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2364, allocations: 0 / 419.7 MB, free: 7.312 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.2364, allocations: 0 / 419.7 MB, free: 7.312 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.837e-05/0.2364, allocations: 7.969 kB / 419.7 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.2365, allocations: 4 kB / 419.8 MB, free: 7.301 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.2366, allocations: 11.98 kB / 419.8 MB, free: 7.289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.466e-05/0.2367, allocations: 93.3 kB / 419.9 MB, free: 7.199 MB / 334.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.0003325/0.237, allocations: 408 kB / 420.3 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.617e-05/0.2371, allocations: 43.72 kB / 420.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.779e-05/0.2372, allocations: 75.41 kB / 420.4 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.2372, allocations: 0 / 420.4 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.2372, allocations: 4 kB / 420.4 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002977/0.2375, allocations: 260.6 kB / 420.6 MB, free: 6.371 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.624e-05/0.2376, allocations: 15.94 kB / 420.6 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.2377, allocations: 8 kB / 420.7 MB, free: 6.348 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.2379, allocations: 55.94 kB / 420.7 MB, free: 6.293 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008395/0.2387, allocations: 0.8843 MB / 421.6 MB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007866/0.2395, allocations: 0.7372 MB / 422.3 MB, free: 4.527 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000234/0.2398, allocations: 187.9 kB / 422.5 MB, free: 4.344 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00046/0.2402, allocations: 422.8 kB / 422.9 MB, free: 3.934 MB / 334.1 MB Notification: Performance of Backend: time 3.2e-07/0.2402, allocations: 0 / 422.9 MB, free: 3.934 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007025/0.2409, allocations: 0.5228 MB / 423.4 MB, free: 3.344 MB / 334.1 MB Notification: Performance of SimCode: time 0.001496/0.2425, allocations: 1.494 MB / 424.9 MB, free: 1.746 MB / 334.1 MB Notification: Performance of Templates: time 0.009988/0.2525, allocations: 6.79 MB / 431.7 MB, free: 10.82 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/MUX2x1/MUX2x1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches