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.001082/0.001082, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0009389/0.0009389, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.877/0.877, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.263e-06/1.263e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075e-05/1.201e-05, allocations: 3.266 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.001615/0.001627, allocations: 1.531 MB / 326 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.003039, allocations: 0.842 MB / 326.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.697e-05/0.003086, allocations: 0 / 326.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.195e-05/0.003168, allocations: 15.86 kB / 326.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.443e-05/0.003242, allocations: 35.72 kB / 326.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.00347, allocations: 63.8 kB / 327 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.003637, allocations: 147.7 kB / 327.1 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.685e-05/0.003723, allocations: 17.58 kB / 327.2 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004642/0.004188, allocations: 0.6629 MB / 327.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.004295, allocations: 71.8 kB / 327.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.293e-05/0.004328, allocations: 12 kB / 327.9 MB, free: 12.47 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.624e-05/0.004354, allocations: 12 kB / 327.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.684e-05/0.004421, allocations: 75.66 kB / 328 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.883e-05/0.00449, allocations: 71.7 kB / 328.1 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000285/0.004775, allocations: 458.5 kB / 328.5 MB, free: 11.86 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.004777, allocations: 0 / 328.5 MB, free: 11.86 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.004778, allocations: 0 / 328.5 MB, free: 11.86 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.004782, allocations: 0 / 328.5 MB, free: 11.86 MB / 298.7 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.0005629/0.005345, allocations: 0.7502 MB / 329.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.00538, allocations: 11.98 kB / 329.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.722e-05/0.005417, allocations: 42.75 kB / 329.3 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.083e-05/0.005468, allocations: 44.66 kB / 329.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.005672, allocations: 239.9 kB / 329.6 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.005688, allocations: 8.375 kB / 329.6 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.005711, allocations: 12.38 kB / 329.6 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005535/0.006264, allocations: 322.5 kB / 329.9 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.006271, allocations: 192 / 329.9 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.006292, allocations: 12.12 kB / 329.9 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.006296, allocations: 0 / 329.9 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.006451, allocations: 232.5 kB / 330.2 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005031/0.006954, allocations: 455.5 kB / 330.6 MB, free: 9.555 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.007139, allocations: 251 kB / 330.9 MB, free: 9.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.007282, allocations: 233.4 kB / 331.1 MB, free: 9.008 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.777e-06/0.007291, allocations: 0 / 331.1 MB, free: 9.008 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002931/0.007584, allocations: 391.1 kB / 331.5 MB, free: 8.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 2.415e-06/0.007587, allocations: 11.92 kB / 331.5 MB, free: 8.559 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007225/0.008309, allocations: 0.9089 MB / 332.4 MB, free: 7.551 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.059e-05/0.00838, allocations: 199.9 kB / 332.6 MB, free: 7.312 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004388/0.008819, allocations: 0.5601 MB / 333.1 MB, free: 6.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.008843, allocations: 33.7 kB / 333.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.773e-05/0.008911, allocations: 117.1 kB / 333.3 MB, free: 6.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.008943, allocations: 35.73 kB / 333.3 MB, free: 6.555 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.424e-05/0.009028, allocations: 97.5 kB / 333.4 MB, free: 6.453 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.067e-05/0.009108, allocations: 338.8 kB / 333.8 MB, free: 6.113 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.009252, allocations: 236.5 kB / 334 MB, free: 5.852 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.009397, allocations: 249 kB / 334.2 MB, free: 5.574 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000265/0.009662, allocations: 450.6 kB / 334.7 MB, free: 5.066 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.009664, allocations: 0 / 334.7 MB, free: 5.066 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004724/0.01014, allocations: 0.6548 MB / 335.3 MB, free: 4.344 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.498e-05/0.0102, allocations: 156.4 kB / 335.5 MB, free: 4.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.01021, allocations: 0 / 335.5 MB, free: 4.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.01022, allocations: 4 kB / 335.5 MB, free: 4.156 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.623e-05/0.01024, allocations: 0 / 335.5 MB, free: 4.156 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.01024, allocations: 4.031 kB / 335.5 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.01034, allocations: 19.98 kB / 335.5 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.454e-05/0.01041, allocations: 89.5 kB / 335.6 MB, free: 4.043 MB / 298.7 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.00024/0.01065, allocations: 408.2 kB / 336 MB, free: 3.605 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.621e-05/0.01068, allocations: 47.72 kB / 336 MB, free: 3.559 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.035e-05/0.01075, allocations: 71.41 kB / 336.1 MB, free: 3.488 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.01076, allocations: 0 / 336.1 MB, free: 3.488 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.01076, allocations: 0 / 336.1 MB, free: 3.488 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.01076, allocations: 3.938 kB / 336.1 MB, free: 3.484 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009725/0.01174, allocations: 1.068 MB / 337.2 MB, free: 2.309 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01174, allocations: 4 kB / 337.2 MB, free: 2.305 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.368e-06/0.01174, allocations: 0 / 337.2 MB, free: 2.305 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.01174, allocations: 4 kB / 337.2 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.01177, allocations: 19.98 kB / 337.2 MB, free: 2.281 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01177, allocations: 3.938 kB / 337.2 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01177, allocations: 0 / 337.2 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005185/0.01229, allocations: 0.8243 MB / 338 MB, free: 1.375 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002346/0.01252, allocations: 209.3 kB / 338.2 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.01256, allocations: 16 kB / 338.3 MB, free: 1.156 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.59e-05/0.01265, allocations: 12.11 kB / 338.3 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.994e-05/0.01275, allocations: 59.94 kB / 338.3 MB, free: 1.086 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.917e-05/0.01282, allocations: 113.4 kB / 338.4 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00031/0.01313, allocations: 422.8 kB / 338.8 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01313, allocations: 0 / 338.8 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002024/0.01333, allocations: 48 kB / 338.9 MB, free: 0.5195 MB / 298.7 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.0007262/0.01406, allocations: 1.381 MB / 340.3 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004447/0.0145, allocations: 0.7636 MB / 341 MB, free: 14.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.0145, allocations: 3.938 kB / 341 MB, free: 14.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002457/0.01475, allocations: 0.5288 MB / 341.6 MB, free: 13.54 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004603/0.01521, allocations: 193.4 kB / 341.8 MB, free: 13.36 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002941/0.01815, allocations: 3.991 MB / 345.7 MB, free: 9.094 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001665/0.01832, allocations: 207.6 kB / 346 MB, free: 8.867 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.832e-05/0.01836, allocations: 12.95 kB / 346 MB, free: 8.852 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.824e-05/0.01841, allocations: 52.48 kB / 346 MB, free: 8.801 MB / 314.7 MB Notification: Performance of SimCode: time 9.51e-07/0.01841, allocations: 0 / 346 MB, free: 8.801 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02165/0.04006, allocations: 10.56 MB / 356.6 MB, free: 14.22 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.007/7.047, allocations: 4 kB / 356.6 MB, free: 14.21 MB / 330.7 MB " [Timeout remaining time 653] (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/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] "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: 8.811711508780718]