Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001359/0.001359, allocations: 103.6 kB / 21.18 MB, free: 472 kB / 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.001621/0.001621, allocations: 214.9 kB / 24.47 MB, free: 3.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 207.7 MB / 235.3 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Digital_Examples_MUX2x1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.MUX2x1,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_MUX2x1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 57.8 kB / 347.2 MB, free: 9.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2469, allocations: 49.15 MB / 396.3 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.0024/0.2493, allocations: 1.517 MB / 397.9 MB, free: 7.848 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.251, allocations: 0.8616 MB / 398.7 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.483e-05/0.2511, allocations: 0 / 398.7 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.434e-05/0.2512, allocations: 13.64 kB / 398.7 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.299e-05/0.2513, allocations: 28.34 kB / 398.8 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.2515, allocations: 61.44 kB / 398.8 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.2517, allocations: 153.2 kB / 399 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.2518, allocations: 22.86 kB / 399 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007302/0.2526, allocations: 0.6322 MB / 399.6 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.2527, allocations: 78.89 kB / 399.7 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.526e-05/0.2528, allocations: 11.06 kB / 399.7 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.746e-05/0.2528, allocations: 12.47 kB / 399.7 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.2529, allocations: 76.7 kB / 399.8 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.253, allocations: 95.81 kB / 399.9 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005357/0.2536, allocations: 468.2 kB / 400.4 MB, free: 6.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2536, allocations: 1.859 kB / 400.4 MB, free: 6.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2536, allocations: 0 / 400.4 MB, free: 6.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.2536, allocations: 0 / 400.4 MB, free: 6.82 MB / 318.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.0007048/0.2543, allocations: 0.752 MB / 401.1 MB, free: 6.176 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.2543, allocations: 12.98 kB / 401.1 MB, free: 6.172 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.097e-05/0.2544, allocations: 42.95 kB / 401.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.792e-05/0.2544, allocations: 45.45 kB / 401.2 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.2547, allocations: 241.1 kB / 401.4 MB, free: 5.895 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.2547, allocations: 13.94 kB / 401.5 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.302e-05/0.2548, allocations: 8.375 kB / 401.5 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003838/0.2552, allocations: 325 kB / 401.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.2552, allocations: 1.219 kB / 401.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/0.2552, allocations: 3.688 kB / 401.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.2552, allocations: 1.125 kB / 401.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002237/0.2554, allocations: 228.5 kB / 402 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007388/0.2562, allocations: 458.1 kB / 402.5 MB, free: 5.137 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002366/0.2564, allocations: 243 kB / 402.7 MB, free: 4.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.2566, allocations: 239.9 kB / 402.9 MB, free: 4.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.2566, allocations: 5.125 kB / 402.9 MB, free: 4.727 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004099/0.257, allocations: 390 kB / 403.3 MB, free: 4.422 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.257, allocations: 0 / 403.3 MB, free: 4.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.001022/0.2581, allocations: 0.9008 MB / 404.2 MB, free: 3.789 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.2581, allocations: 197.2 kB / 404.4 MB, free: 3.562 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006723/0.2588, allocations: 0.5605 MB / 405 MB, free: 3.262 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.2588, allocations: 29.91 kB / 405 MB, free: 3.23 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.739e-05/0.2589, allocations: 117.6 kB / 405.1 MB, free: 3.125 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/0.2589, allocations: 33.06 kB / 405.1 MB, free: 3.102 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.2591, allocations: 98.62 kB / 405.2 MB, free: 3.055 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.553e-05/0.2591, allocations: 337.8 kB / 405.6 MB, free: 2.727 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.2593, allocations: 224.6 kB / 405.8 MB, free: 2.543 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.2596, allocations: 244.7 kB / 406 MB, free: 2.34 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003564/0.2599, allocations: 451 kB / 406.5 MB, free: 1.941 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2599, allocations: 0 / 406.5 MB, free: 1.941 MB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007045/0.2606, allocations: 0.649 MB / 407.1 MB, free: 1.504 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.44e-05/0.2607, allocations: 154.7 kB / 407.3 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.2607, allocations: 2.094 kB / 407.3 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.2607, allocations: 0.7188 kB / 407.3 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.199e-05/0.2607, allocations: 5.375 kB / 407.3 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.2608, allocations: 6.141 kB / 407.3 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.2609, allocations: 12.34 kB / 407.3 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/0.261, allocations: 95.61 kB / 407.4 MB, free: 1.328 MB / 318.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.0003276/0.2613, allocations: 403.4 kB / 407.8 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.191e-05/0.2614, allocations: 47.09 kB / 407.8 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.2615, allocations: 72.75 kB / 407.9 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2615, allocations: 0.7031 kB / 407.9 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.2615, allocations: 5.312 kB / 407.9 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.2615, allocations: 0.6562 kB / 407.9 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.2626, allocations: 1.072 MB / 409 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2626, allocations: 0 / 409 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.94e-06/0.2626, allocations: 0 / 409 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2626, allocations: 1.125 kB / 409 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.899e-05/0.2627, allocations: 23.39 kB / 409 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.2627, allocations: 5.344 kB / 409 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2627, allocations: 0 / 409 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009831/0.2636, allocations: 0.8071 MB / 409.8 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004542/0.2641, allocations: 221.3 kB / 410 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.879e-05/0.2642, allocations: 16.38 kB / 410 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.2643, allocations: 19.8 kB / 410.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/0.2645, allocations: 54.77 kB / 410.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001472/0.2647, allocations: 109.1 kB / 410.2 MB, free: 15.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006625/0.2653, allocations: 420.6 kB / 410.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2653, allocations: 0 / 410.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003887/0.2657, allocations: 47.5 kB / 410.7 MB, free: 15.19 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.001584/0.2673, allocations: 1.365 MB / 412 MB, free: 14.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.2683, allocations: 0.7651 MB / 412.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2683, allocations: 0 / 412.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005773/0.2689, allocations: 0.5262 MB / 413.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009774/0.2699, allocations: 185.8 kB / 413.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005829/0.2757, allocations: 3.973 MB / 417.5 MB, free: 9.812 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.2761, allocations: 212.1 kB / 417.7 MB, free: 9.66 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.2762, allocations: 18.45 kB / 417.7 MB, free: 9.641 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.796e-05/0.2763, allocations: 41.95 kB / 417.8 MB, free: 9.605 MB / 334.1 MB Notification: Performance of SimCode: time 1.092e-06/0.2763, allocations: 0 / 417.8 MB, free: 9.605 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05424/0.3305, allocations: 10.49 MB / 428.2 MB, free: 1.434 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.54, allocations: 11.94 kB / 428.3 MB, free: 1.422 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Digital_Examples_MUX2x1.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/MUX2x1/MUX2x1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1_res.csv. Warning: Get data of variable Mux2x1.out from file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.880601197015494]