Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002137/0.002137, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002231/0.002231, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Digital.Examples.MUX2x1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 55.91 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3231, allocations: 52.14 MB / 420.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002842/0.326, allocations: 1.58 MB / 422.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.3279, allocations: 0.8751 MB / 423.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.23e-05/0.328, allocations: 0 / 423.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.502e-05/0.3281, allocations: 11.92 kB / 423.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.557e-05/0.3282, allocations: 31.78 kB / 423.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002949/0.3285, allocations: 51.89 kB / 423.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.3287, allocations: 159.7 kB / 423.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.3288, allocations: 13.39 kB / 423.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007054/0.3296, allocations: 0.6395 MB / 424.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.3297, allocations: 87.62 kB / 424.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.527e-05/0.3298, allocations: 12 kB / 424.3 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.567e-05/0.3298, allocations: 8 kB / 424.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.3299, allocations: 75.69 kB / 424.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.33, allocations: 139 kB / 424.5 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004813/0.3305, allocations: 463.4 kB / 425 MB, free: 11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3305, allocations: 3.938 kB / 425 MB, free: 11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3305, allocations: 0 / 425 MB, free: 11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.3305, allocations: 0 / 425 MB, free: 11 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.0009481/0.3315, allocations: 0.8293 MB / 425.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.3315, allocations: 12.03 kB / 425.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.581e-05/0.3316, allocations: 44.66 kB / 425.9 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/0.332, allocations: 290.6 kB / 426.2 MB, free: 9.707 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.332, allocations: 12.38 kB / 426.2 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.332, allocations: 8.375 kB / 426.2 MB, free: 9.688 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000375/0.3324, allocations: 177.8 kB / 426.3 MB, free: 9.508 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3324, allocations: 0 / 426.3 MB, free: 9.508 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.3324, allocations: 4 kB / 426.4 MB, free: 9.504 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3324, allocations: 0 / 426.4 MB, free: 9.504 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001874/0.3326, allocations: 87.94 kB / 426.4 MB, free: 9.418 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007733/0.3334, allocations: 0.4926 MB / 426.9 MB, free: 8.875 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.3336, allocations: 102.5 kB / 427 MB, free: 8.766 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.3338, allocations: 84.88 kB / 427.1 MB, free: 8.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.3338, allocations: 3.984 kB / 427.1 MB, free: 8.676 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004098/0.3342, allocations: 242.6 kB / 427.4 MB, free: 8.414 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.422e-06/0.3342, allocations: 3.938 kB / 427.4 MB, free: 8.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.001033/0.3352, allocations: 0.615 MB / 428 MB, free: 7.758 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001274/0.3354, allocations: 203.9 kB / 428.2 MB, free: 7.516 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007194/0.3361, allocations: 0.564 MB / 428.7 MB, free: 6.934 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.946e-05/0.3361, allocations: 37.69 kB / 428.8 MB, free: 6.891 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.189e-05/0.3362, allocations: 113.1 kB / 428.9 MB, free: 6.777 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.822e-05/0.3363, allocations: 35.73 kB / 428.9 MB, free: 6.742 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.3364, allocations: 93.55 kB / 429 MB, free: 6.645 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3365, allocations: 334.9 kB / 429.3 MB, free: 6.309 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.3367, allocations: 91.89 kB / 429.4 MB, free: 6.219 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.3369, allocations: 97.73 kB / 429.5 MB, free: 6.117 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004478/0.3373, allocations: 430.7 kB / 429.9 MB, free: 5.629 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3373, allocations: 0 / 429.9 MB, free: 5.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007458/0.3381, allocations: 0.5092 MB / 430.5 MB, free: 5.086 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001241/0.3382, allocations: 152.5 kB / 430.6 MB, free: 4.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3382, allocations: 0 / 430.6 MB, free: 4.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.3382, allocations: 0 / 430.6 MB, free: 4.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.242e-05/0.3382, allocations: 8.031 kB / 430.6 MB, free: 4.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.3383, allocations: 0 / 430.6 MB, free: 4.898 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.3384, allocations: 19.98 kB / 430.6 MB, free: 4.879 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.3385, allocations: 101.2 kB / 430.7 MB, free: 4.781 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.0004488/0.339, allocations: 407.8 kB / 431.1 MB, free: 4.344 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.274e-05/0.3391, allocations: 47.72 kB / 431.2 MB, free: 4.297 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.3392, allocations: 67.47 kB / 431.2 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3392, allocations: 4 kB / 431.2 MB, free: 4.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3392, allocations: 4 kB / 431.2 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3392, allocations: 0 / 431.2 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/0.3405, allocations: 0.962 MB / 432.2 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3405, allocations: 0 / 432.2 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.214e-06/0.3406, allocations: 4 kB / 432.2 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3406, allocations: 0 / 432.2 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.252e-05/0.3406, allocations: 19.98 kB / 432.2 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3406, allocations: 3.938 kB / 432.2 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3406, allocations: 3.938 kB / 432.2 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008817/0.3415, allocations: 0.6637 MB / 432.9 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000356/0.3418, allocations: 260.6 kB / 433.2 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.857e-05/0.3419, allocations: 12 kB / 433.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.3421, allocations: 8 kB / 433.2 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/0.3422, allocations: 63.86 kB / 433.2 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/0.3423, allocations: 101.4 kB / 433.3 MB, free: 1.984 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005575/0.3429, allocations: 418.8 kB / 433.7 MB, free: 1.578 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3429, allocations: 0 / 433.7 MB, free: 1.578 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003031/0.3432, allocations: 56 kB / 433.8 MB, free: 1.523 MB / 334.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.0001737/0.3434, allocations: 115.2 kB / 433.9 MB, free: 1.402 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006979/0.3441, allocations: 480.8 kB / 434.4 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3441, allocations: 0 / 434.4 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004077/0.3445, allocations: 381 kB / 434.8 MB, free: 448 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008642/0.3453, allocations: 197.6 kB / 434.9 MB, free: 264 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.3468, allocations: 0.7639 MB / 435.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006579/0.3474, allocations: 0.8297 MB / 436.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.5e-05/0.3475, allocations: 8.875 kB / 436.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.3475, allocations: 19.44 kB / 436.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3475, allocations: 0 / 436.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of Templates: time 0.01233/0.3599, allocations: 7.482 MB / 444.1 MB, free: 6.988 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/MUX2x1/MUX2x1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.689557664096355]