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.001825/0.001825, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002281/0.002281, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.513/1.513, allocations: 230.4 MB / 254 MB, free: 15.03 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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.MUX2x1,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_MUX2x1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.MUX2x1,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_MUX2x1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 67.86 kB / 373 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1087, allocations: 53.38 MB / 426.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002893/0.1116, allocations: 1.576 MB / 427.9 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.1137, allocations: 0.9004 MB / 428.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.906e-05/0.1137, allocations: 4 kB / 428.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.464e-05/0.1138, allocations: 7.875 kB / 428.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.469e-05/0.1139, allocations: 31.78 kB / 428.9 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.1142, allocations: 47.88 kB / 428.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.1144, allocations: 159.7 kB / 429.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1145, allocations: 13.39 kB / 429.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007158/0.1152, allocations: 0.6395 MB / 429.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.1154, allocations: 91.61 kB / 429.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.718e-05/0.1154, allocations: 12 kB / 429.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.616e-05/0.1155, allocations: 12 kB / 429.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.1156, allocations: 71.64 kB / 429.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.1157, allocations: 139 kB / 430.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005922/0.1163, allocations: 458.1 kB / 430.5 MB, free: 472 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1163, allocations: 0 / 430.5 MB, free: 472 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1163, allocations: 0 / 430.5 MB, free: 472 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.1163, allocations: 0 / 430.5 MB, free: 472 kB / 350.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.213/0.3293, allocations: 0.823 MB / 431.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.3294, allocations: 10.31 kB / 431.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.821e-05/0.3294, allocations: 42.89 kB / 431.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.544e-05/0.3295, allocations: 46.66 kB / 431.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.3298, allocations: 295.4 kB / 431.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.3299, allocations: 5.688 kB / 431.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.3299, allocations: 13.41 kB / 431.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003983/0.3303, allocations: 169 kB / 431.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.3303, allocations: 6.531 kB / 431.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/0.3303, allocations: 4.422 kB / 431.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3303, allocations: 1.031 kB / 431.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.3305, allocations: 85.94 kB / 432 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006527/0.3312, allocations: 0.5009 MB / 432.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.3314, allocations: 102.8 kB / 432.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.3315, allocations: 86.25 kB / 432.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.161e-06/0.3315, allocations: 0.6875 kB / 432.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003294/0.3319, allocations: 245.6 kB / 432.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.713e-06/0.3319, allocations: 0 / 432.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009439/0.3328, allocations: 0.6193 MB / 433.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.716e-05/0.3329, allocations: 190.8 kB / 433.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000672/0.3336, allocations: 0.5668 MB / 434.3 MB, free: 9.504 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.3336, allocations: 31.86 kB / 434.3 MB, free: 9.473 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.257e-05/0.3337, allocations: 114.3 kB / 434.4 MB, free: 9.391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.3337, allocations: 36.61 kB / 434.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.3339, allocations: 98.5 kB / 434.6 MB, free: 9.348 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.468e-05/0.3339, allocations: 333.2 kB / 434.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.3341, allocations: 87.41 kB / 435 MB, free: 9.031 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.3343, allocations: 94.94 kB / 435.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003518/0.3346, allocations: 431.5 kB / 435.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3346, allocations: 0 / 435.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006537/0.3353, allocations: 0.5112 MB / 436 MB, free: 8.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.128e-05/0.3353, allocations: 150.9 kB / 436.1 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3353, allocations: 0 / 436.1 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.3354, allocations: 1.5 kB / 436.1 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.388e-05/0.3354, allocations: 7.406 kB / 436.2 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3354, allocations: 1.125 kB / 436.2 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.3355, allocations: 19.02 kB / 436.2 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.3357, allocations: 93.7 kB / 436.3 MB, free: 8.332 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.0002982/0.336, allocations: 402.3 kB / 436.7 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.23e-05/0.336, allocations: 55.61 kB / 436.7 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.591e-05/0.3361, allocations: 71.52 kB / 436.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.3361, allocations: 1.219 kB / 436.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.3361, allocations: 0 / 436.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3361, allocations: 3.422 kB / 436.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.3372, allocations: 0.9649 MB / 437.8 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.3372, allocations: 2.016 kB / 437.8 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.398e-06/0.3372, allocations: 0 / 437.8 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.3372, allocations: 2.312 kB / 437.8 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.066e-05/0.3372, allocations: 20.05 kB / 437.8 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3372, allocations: 3.281 kB / 437.8 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3372, allocations: 5.125 kB / 437.8 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007569/0.338, allocations: 0.6588 MB / 438.4 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002862/0.3383, allocations: 265.6 kB / 438.7 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.449e-05/0.3383, allocations: 7.656 kB / 438.7 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.3385, allocations: 18.95 kB / 438.7 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.3386, allocations: 62.22 kB / 438.8 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.3387, allocations: 101.6 kB / 438.9 MB, free: 6.754 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004917/0.3392, allocations: 421 kB / 439.3 MB, free: 6.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3392, allocations: 0 / 439.3 MB, free: 6.543 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003244/0.3396, allocations: 52.69 kB / 439.4 MB, free: 6.539 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.001077/0.3406, allocations: 1.214 MB / 440.6 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005807/0.3412, allocations: 483.5 kB / 441 MB, free: 5.246 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3412, allocations: 1.062 kB / 441 MB, free: 5.246 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003262/0.3415, allocations: 390.6 kB / 441.4 MB, free: 4.902 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009036/0.3425, allocations: 195.3 kB / 441.6 MB, free: 4.863 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003902/0.3464, allocations: 3.237 MB / 444.8 MB, free: 2.809 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.3467, allocations: 0.815 MB / 445.7 MB, free: 2.078 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.675e-05/0.3468, allocations: 15.36 kB / 445.7 MB, free: 2.066 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.31e-05/0.3469, allocations: 49.56 kB / 445.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3469, allocations: 0 / 445.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03513/0.382, allocations: 9.24 MB / 455 MB, free: 15.49 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.279/8.661, allocations: 8.641 kB / 455 MB, free: 15.48 MB / 366.1 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00299162 Modelica_trunk_Modelica_Electrical_Digital_Examples_MUX2x1.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1_res.csv","/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_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Mux2x1.out in file Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1_res.csv. Warning: Get data of variable Mux2x1.out from file Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.327449257019907]