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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 112.3 kB / 17.28 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 189.3 kB / 18.2 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.305/1.305, allocations: 205.1 MB / 224.1 MB, free: 12.44 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 52.61 kB / 280.3 MB, free: 3.391 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1069, allocations: 46.62 MB / 326.9 MB, free: 4.699 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002945/0.1099, allocations: 1.613 MB / 328.5 MB, free: 3.07 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.1118, allocations: 0.8944 MB / 329.4 MB, free: 2.168 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.016e-05/0.1119, allocations: 0 / 329.4 MB, free: 2.168 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001364/0.1121, allocations: 15.92 kB / 329.4 MB, free: 2.152 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.1122, allocations: 19.84 kB / 329.4 MB, free: 2.133 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.1124, allocations: 47.97 kB / 329.5 MB, free: 2.086 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002328/0.1127, allocations: 163.6 kB / 329.6 MB, free: 1.926 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1128, allocations: 33.38 kB / 329.7 MB, free: 1.891 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006634/0.1135, allocations: 0.6434 MB / 330.3 MB, free: 1.246 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.1136, allocations: 95.61 kB / 330.4 MB, free: 1.152 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.152e-05/0.1137, allocations: 8 kB / 330.4 MB, free: 1.145 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.183e-05/0.1137, allocations: 12 kB / 330.4 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.754e-05/0.1138, allocations: 75.7 kB / 330.5 MB, free: 1.059 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.114, allocations: 135 kB / 330.6 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004054/0.1144, allocations: 462.5 kB / 331.1 MB, free: 484 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.1144, allocations: 4 kB / 331.1 MB, free: 480 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1144, allocations: 0 / 331.1 MB, free: 480 kB / 270.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1144, allocations: 0 / 331.1 MB, free: 480 kB / 270.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.0009345/0.1154, allocations: 0.8138 MB / 331.9 MB, free: 15.57 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.1154, allocations: 8.031 kB / 331.9 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.818e-05/0.1155, allocations: 42.75 kB / 331.9 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.281e-05/0.1156, allocations: 40.47 kB / 332 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.1159, allocations: 294.1 kB / 332.3 MB, free: 15.15 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.1159, allocations: 8.375 kB / 332.3 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/0.116, allocations: 8.375 kB / 332.3 MB, free: 15.13 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004169/0.1164, allocations: 177.6 kB / 332.5 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1164, allocations: 0 / 332.5 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.201e-05/0.1164, allocations: 11.98 kB / 332.5 MB, free: 14.94 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1165, allocations: 3.984 kB / 332.5 MB, free: 14.94 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.1166, allocations: 87.89 kB / 332.6 MB, free: 14.85 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007068/0.1174, allocations: 0.4887 MB / 333 MB, free: 14.31 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.1176, allocations: 126.5 kB / 333.2 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.1178, allocations: 113 kB / 333.3 MB, free: 14.07 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.1178, allocations: 3.938 kB / 333.3 MB, free: 14.06 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004538/0.1183, allocations: 246.6 kB / 333.5 MB, free: 13.8 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 2.495e-06/0.1183, allocations: 3.938 kB / 333.5 MB, free: 13.79 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009811/0.1193, allocations: 0.607 MB / 334.1 MB, free: 13.15 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.1194, allocations: 191.9 kB / 334.3 MB, free: 12.92 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007205/0.1201, allocations: 0.5717 MB / 334.9 MB, free: 12.34 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.01e-05/0.1202, allocations: 29.7 kB / 334.9 MB, free: 12.3 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.1204, allocations: 113.1 kB / 335 MB, free: 12.19 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.211e-05/0.1204, allocations: 31.66 kB / 335.1 MB, free: 12.16 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.1206, allocations: 101.3 kB / 335.2 MB, free: 12.05 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.1208, allocations: 330.8 kB / 335.5 MB, free: 11.72 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.121, allocations: 80.09 kB / 335.6 MB, free: 11.64 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.1212, allocations: 105.6 kB / 335.7 MB, free: 11.54 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004671/0.1216, allocations: 432.5 kB / 336.1 MB, free: 11.05 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.1217, allocations: 0 / 336.1 MB, free: 11.05 MB / 286.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007428/0.1224, allocations: 0.5041 MB / 336.6 MB, free: 10.51 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.1225, allocations: 152.5 kB / 336.7 MB, free: 10.33 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.1225, allocations: 4 kB / 336.7 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.1226, allocations: 0 / 336.7 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.129e-05/0.1226, allocations: 0 / 336.7 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1226, allocations: 4.031 kB / 336.7 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.1228, allocations: 15.98 kB / 336.8 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.1229, allocations: 105.2 kB / 336.9 MB, free: 10.2 MB / 286.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.0004923/0.1234, allocations: 404.1 kB / 337.3 MB, free: 9.762 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.713e-05/0.1235, allocations: 43.53 kB / 337.3 MB, free: 9.719 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.1236, allocations: 71.47 kB / 337.4 MB, free: 9.645 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1236, allocations: 0 / 337.4 MB, free: 9.645 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1236, allocations: 0 / 337.4 MB, free: 9.645 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1236, allocations: 3.938 kB / 337.4 MB, free: 9.641 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.1249, allocations: 0.9793 MB / 338.4 MB, free: 8.574 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1249, allocations: 0 / 338.4 MB, free: 8.574 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.39e-06/0.1249, allocations: 0 / 338.4 MB, free: 8.574 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.1249, allocations: 0 / 338.4 MB, free: 8.574 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.502e-05/0.125, allocations: 27.92 kB / 338.4 MB, free: 8.547 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.125, allocations: 3.938 kB / 338.4 MB, free: 8.543 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.125, allocations: 0 / 338.4 MB, free: 8.543 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008774/0.1259, allocations: 0.6557 MB / 339 MB, free: 7.84 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003438/0.1262, allocations: 252.4 kB / 339.3 MB, free: 7.574 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.311e-05/0.1263, allocations: 12 kB / 339.3 MB, free: 7.562 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.1265, allocations: 23.91 kB / 339.3 MB, free: 7.539 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.1267, allocations: 51.94 kB / 339.4 MB, free: 7.488 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.1268, allocations: 105.2 kB / 339.5 MB, free: 7.387 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004773/0.1273, allocations: 418.8 kB / 339.9 MB, free: 6.98 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1273, allocations: 0 / 339.9 MB, free: 6.98 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002941/0.1276, allocations: 48 kB / 339.9 MB, free: 6.934 MB / 286.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.001202/0.1288, allocations: 1.232 MB / 341.2 MB, free: 5.641 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006552/0.1294, allocations: 0.536 MB / 341.7 MB, free: 5.043 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1295, allocations: 0 / 341.7 MB, free: 5.043 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004059/0.1299, allocations: 465 kB / 342.2 MB, free: 4.527 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008171/0.1307, allocations: 193.5 kB / 342.3 MB, free: 4.344 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004045/0.1348, allocations: 3.309 MB / 345.7 MB, free: 0.918 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005533/0.1353, allocations: 0.8143 MB / 346.5 MB, free: 80 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.1355, allocations: 20.86 kB / 346.5 MB, free: 60 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.445e-05/0.1355, allocations: 43.42 kB / 346.5 MB, free: 16 kB / 286.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1356, allocations: 4 kB / 346.5 MB, free: 12 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0224/0.158, allocations: 8.856 MB / 355.4 MB, free: 6.957 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003047/0.1583, allocations: 186.7 kB / 355.6 MB, free: 6.707 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.971/2.129, allocations: 8 kB / 355.6 MB, free: 6.699 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_MUX2x1_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_MUX2x1.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/MUX2x1/MUX2x1.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches