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.001782/0.001782, allocations: 123.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 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.001994/0.001994, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.46/1.46, allocations: 230.6 MB / 254.1 MB, free: 15.09 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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.MUX2x1,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_MUX2x1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.MUX2x1,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_MUX2x1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 51.92 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.111, allocations: 53.33 MB / 426.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.00275/0.1137, allocations: 1.578 MB / 427.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.1157, allocations: 0.8965 MB / 428.8 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.308e-05/0.1158, allocations: 4 kB / 428.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.659e-05/0.1159, allocations: 11.86 kB / 428.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.131e-05/0.116, allocations: 27.8 kB / 428.8 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.1162, allocations: 51.88 kB / 428.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002353/0.1164, allocations: 159.7 kB / 429 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.901e-05/0.1165, allocations: 13.41 kB / 429 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000712/0.1172, allocations: 0.6395 MB / 429.7 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.1174, allocations: 79.69 kB / 429.8 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.552e-05/0.1174, allocations: 12 kB / 429.8 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.576e-05/0.1175, allocations: 15.94 kB / 429.8 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.1176, allocations: 87.61 kB / 429.9 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.1177, allocations: 131 kB / 430 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004838/0.1182, allocations: 450.2 kB / 430.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1182, allocations: 0 / 430.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1182, allocations: 7.938 kB / 430.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1182, allocations: 0 / 430.5 MB, free: 0.6367 MB / 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.24/0.3582, allocations: 0.8194 MB / 431.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.3582, allocations: 9.812 kB / 431.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.745e-05/0.3583, allocations: 41.05 kB / 431.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.269e-05/0.3584, allocations: 46.16 kB / 431.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.3587, allocations: 301.2 kB / 431.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.3587, allocations: 6.812 kB / 431.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.045e-05/0.3587, allocations: 12.06 kB / 431.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004087/0.3592, allocations: 169.5 kB / 431.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.3592, allocations: 5.516 kB / 431.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.031e-05/0.3592, allocations: 4.453 kB / 431.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.3592, allocations: 2.938 kB / 431.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000211/0.3594, allocations: 85.2 kB / 431.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007124/0.3601, allocations: 0.5004 MB / 432.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.3603, allocations: 98.86 kB / 432.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.3605, allocations: 87.27 kB / 432.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.3605, allocations: 1.781 kB / 432.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003835/0.3609, allocations: 250.9 kB / 432.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.673e-06/0.3609, allocations: 0.9688 kB / 432.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.000933/0.3618, allocations: 0.6092 MB / 433.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/0.3619, allocations: 195.3 kB / 433.7 MB, free: 9.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005839/0.3625, allocations: 0.5636 MB / 434.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.3625, allocations: 30.89 kB / 434.3 MB, free: 9.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.319e-05/0.3626, allocations: 115.1 kB / 434.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.3626, allocations: 42.88 kB / 434.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.3627, allocations: 94.36 kB / 434.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.775e-05/0.3628, allocations: 335.3 kB / 434.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.3629, allocations: 80.25 kB / 434.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.3631, allocations: 101.5 kB / 435 MB, free: 9.219 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003474/0.3635, allocations: 433.9 kB / 435.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3635, allocations: 0.875 kB / 435.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006394/0.3641, allocations: 0.5054 MB / 435.9 MB, free: 8.691 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.651e-05/0.3642, allocations: 155.4 kB / 436.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3642, allocations: 1.156 kB / 436.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3642, allocations: 2.844 kB / 436.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.174e-05/0.3642, allocations: 2.625 kB / 436.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.361e-06/0.3642, allocations: 7.422 kB / 436.1 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.3644, allocations: 19.41 kB / 436.1 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.3645, allocations: 95.64 kB / 436.2 MB, free: 8.527 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.000295/0.3648, allocations: 398.2 kB / 436.6 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.43e-05/0.3648, allocations: 54.05 kB / 436.7 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.379e-05/0.3649, allocations: 72.73 kB / 436.7 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3649, allocations: 3.812 kB / 436.7 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3649, allocations: 0 / 436.7 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3649, allocations: 0 / 436.7 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.366, allocations: 0.9661 MB / 437.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.366, allocations: 0 / 437.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.749e-06/0.366, allocations: 0 / 437.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.366, allocations: 4.188 kB / 437.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4e-05/0.366, allocations: 20.38 kB / 437.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3661, allocations: 0 / 437.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3661, allocations: 5.906 kB / 437.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007597/0.3668, allocations: 0.6635 MB / 438.4 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002932/0.3671, allocations: 256.2 kB / 438.6 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.736e-05/0.3672, allocations: 17.58 kB / 438.7 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.3673, allocations: 11.73 kB / 438.7 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.3675, allocations: 61.53 kB / 438.7 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/0.3676, allocations: 101.9 kB / 438.8 MB, free: 6.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004683/0.368, allocations: 427.7 kB / 439.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.368, allocations: 2.719 kB / 439.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003308/0.3684, allocations: 48.84 kB / 439.3 MB, free: 6.742 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.001018/0.3694, allocations: 1.218 MB / 440.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005436/0.3699, allocations: 483.1 kB / 441 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3699, allocations: 0 / 441 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002974/0.3702, allocations: 386.2 kB / 441.4 MB, free: 5.102 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008496/0.3711, allocations: 194.2 kB / 441.6 MB, free: 5.059 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003872/0.375, allocations: 3.238 MB / 444.8 MB, free: 3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.3753, allocations: 0.8192 MB / 445.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.153e-05/0.3754, allocations: 13.09 kB / 445.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.078e-05/0.3755, allocations: 45.58 kB / 445.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of SimCode: time 6.42e-07/0.3755, allocations: 0 / 445.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03597/0.4114, allocations: 9.239 MB / 454.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.767/8.179, allocations: 17.75 kB / 454.9 MB, free: 15.71 MB / 366.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Electrical_Digital_Examples_MUX2x1.fmu > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1_res.csv. Warning: Get data of variable Mux2x1.out from file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.718058098995243]