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.001147/0.001147, allocations: 100.4 kB / 17.58 MB, free: 5.418 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.001145/0.001145, allocations: 192 kB / 18.51 MB, free: 4.508 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.435/1.435, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001793/0.001793, allocations: 55.92 kB / 280.7 MB, free: 3.086 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09887/0.1007, allocations: 46.64 MB / 327.4 MB, free: 4.379 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.00269/0.1034, allocations: 1.552 MB / 328.9 MB, free: 2.809 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002058/0.1055, allocations: 0.9013 MB / 329.8 MB, free: 1.898 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.362e-05/0.1056, allocations: 0 / 329.8 MB, free: 1.898 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.285e-05/0.1057, allocations: 7.875 kB / 329.8 MB, free: 1.891 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.923e-05/0.1058, allocations: 27.8 kB / 329.9 MB, free: 1.863 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.1061, allocations: 55.88 kB / 329.9 MB, free: 1.809 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.1063, allocations: 167.7 kB / 330.1 MB, free: 1.645 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.1064, allocations: 25.39 kB / 330.1 MB, free: 1.617 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005988/0.107, allocations: 0.6317 MB / 330.7 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.1072, allocations: 79.64 kB / 330.8 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.358e-05/0.1073, allocations: 12 kB / 330.8 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.356e-05/0.1073, allocations: 8 kB / 330.8 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.1074, allocations: 79.69 kB / 330.9 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.1076, allocations: 131 kB / 331 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003889/0.108, allocations: 458.6 kB / 331.5 MB, free: 236 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.108, allocations: 0 / 331.5 MB, free: 236 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.108, allocations: 0 / 331.5 MB, free: 236 kB / 270.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.108, allocations: 4 kB / 331.5 MB, free: 232 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.0008308/0.1088, allocations: 0.8138 MB / 332.3 MB, free: 15.33 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.1089, allocations: 12.03 kB / 332.3 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.112e-05/0.1089, allocations: 38.75 kB / 332.4 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.814e-05/0.109, allocations: 40.47 kB / 332.4 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.1093, allocations: 302.1 kB / 332.7 MB, free: 14.9 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.1093, allocations: 4.375 kB / 332.7 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/0.1094, allocations: 8.375 kB / 332.7 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003763/0.1098, allocations: 174.5 kB / 332.9 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.1098, allocations: 4 kB / 332.9 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.1098, allocations: 4 kB / 332.9 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1098, allocations: 0 / 332.9 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001852/0.11, allocations: 91.83 kB / 333 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007177/0.1108, allocations: 0.4926 MB / 333.5 MB, free: 14.07 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.111, allocations: 130.5 kB / 333.6 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.1112, allocations: 112.9 kB / 333.7 MB, free: 13.82 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.1112, allocations: 112 / 333.7 MB, free: 13.82 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004329/0.1116, allocations: 246.6 kB / 333.9 MB, free: 13.55 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.663e-06/0.1116, allocations: 0 / 333.9 MB, free: 13.55 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009629/0.1126, allocations: 0.6108 MB / 334.6 MB, free: 12.91 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.1127, allocations: 195.9 kB / 334.8 MB, free: 12.67 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006303/0.1134, allocations: 0.5639 MB / 335.3 MB, free: 12.1 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.1134, allocations: 29.7 kB / 335.3 MB, free: 12.07 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.15e-05/0.1135, allocations: 117.1 kB / 335.5 MB, free: 11.95 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.735e-05/0.1136, allocations: 27.7 kB / 335.5 MB, free: 11.92 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.1137, allocations: 97.31 kB / 335.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1138, allocations: 330.8 kB / 335.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.114, allocations: 84.09 kB / 336 MB, free: 11.41 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.1142, allocations: 109.5 kB / 336.1 MB, free: 11.29 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004007/0.1146, allocations: 430.7 kB / 336.5 MB, free: 10.8 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.1146, allocations: 7.938 kB / 336.5 MB, free: 10.8 MB / 286.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006821/0.1153, allocations: 0.5018 MB / 337 MB, free: 10.26 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.829e-05/0.1154, allocations: 152.5 kB / 337.2 MB, free: 10.08 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1154, allocations: 0 / 337.2 MB, free: 10.08 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1154, allocations: 0 / 337.2 MB, free: 10.08 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.407e-05/0.1155, allocations: 12.02 kB / 337.2 MB, free: 10.07 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.1155, allocations: 0 / 337.2 MB, free: 10.07 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.1156, allocations: 8 kB / 337.2 MB, free: 10.06 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.1158, allocations: 109.2 kB / 337.3 MB, free: 9.949 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.0003477/0.1161, allocations: 400.1 kB / 337.7 MB, free: 9.516 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.049e-05/0.1162, allocations: 43.53 kB / 337.7 MB, free: 9.473 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.1163, allocations: 63.48 kB / 337.8 MB, free: 9.406 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.1163, allocations: 4 kB / 337.8 MB, free: 9.402 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.1163, allocations: 4.062 kB / 337.8 MB, free: 9.398 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1163, allocations: 4 kB / 337.8 MB, free: 9.395 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.1174, allocations: 0.971 MB / 338.8 MB, free: 8.336 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1174, allocations: 0 / 338.8 MB, free: 8.336 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.549e-06/0.1174, allocations: 0 / 338.8 MB, free: 8.336 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1174, allocations: 4 kB / 338.8 MB, free: 8.332 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.458e-05/0.1175, allocations: 19.98 kB / 338.8 MB, free: 8.312 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-05/0.1175, allocations: 3.938 kB / 338.8 MB, free: 8.309 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1175, allocations: 4 kB / 338.8 MB, free: 8.305 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007785/0.1183, allocations: 0.6638 MB / 339.5 MB, free: 7.594 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003194/0.1186, allocations: 252.4 kB / 339.7 MB, free: 7.328 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.02e-05/0.1187, allocations: 12 kB / 339.7 MB, free: 7.316 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.1189, allocations: 15.92 kB / 339.7 MB, free: 7.301 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/0.119, allocations: 55.92 kB / 339.8 MB, free: 7.246 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-05/0.1191, allocations: 105.2 kB / 339.9 MB, free: 7.145 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004766/0.1196, allocations: 422.8 kB / 340.3 MB, free: 6.73 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1196, allocations: 0 / 340.3 MB, free: 6.73 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003199/0.12, allocations: 52 kB / 340.4 MB, free: 6.68 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.001164/0.1211, allocations: 1.224 MB / 341.6 MB, free: 5.395 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006636/0.1218, allocations: 0.5321 MB / 342.1 MB, free: 4.801 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.1218, allocations: 0 / 342.1 MB, free: 4.801 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003899/0.1222, allocations: 473 kB / 342.6 MB, free: 4.277 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008758/0.1231, allocations: 192.9 kB / 342.8 MB, free: 4.094 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004182/0.1273, allocations: 3.227 MB / 346 MB, free: 0.75 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/0.1278, allocations: 0.826 MB / 346.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.813e-05/0.1279, allocations: 12.88 kB / 346.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.96e-05/0.128, allocations: 43.42 kB / 346.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of SimCode: time 8.92e-07/0.128, allocations: 0 / 346.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03131/0.1593, allocations: 9.19 MB / 356.1 MB, free: 6.418 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.848/8.007, allocations: 7.938 kB / 356.1 MB, free: 6.41 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","/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) Reference file matches