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: translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001143, allocations: 105.3 kB / 18.36 MB, free: 4.512 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.001175/0.001175, allocations: 191 kB / 19.3 MB, free: 3.582 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.392/1.392, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.00121/0.00121, allocations: 55.91 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09016/0.09139, allocations: 46.62 MB / 328.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.003166/0.09459, allocations: 1.551 MB / 330.3 MB, free: 2.195 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.09658, allocations: 0.9013 MB / 331.2 MB, free: 1.285 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.079e-05/0.09664, allocations: 4 kB / 331.2 MB, free: 1.281 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.09678, allocations: 15.8 kB / 331.2 MB, free: 1.266 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.845e-05/0.09688, allocations: 23.81 kB / 331.2 MB, free: 1.242 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.09716, allocations: 59.86 kB / 331.3 MB, free: 1.184 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.09741, allocations: 167.7 kB / 331.5 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.09753, allocations: 25.39 kB / 331.5 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006538/0.09819, allocations: 0.6239 MB / 332.1 MB, free: 376 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.09836, allocations: 83.62 kB / 332.2 MB, free: 292 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.767e-05/0.09842, allocations: 12 kB / 332.2 MB, free: 280 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.696e-05/0.09848, allocations: 12 kB / 332.2 MB, free: 268 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.649e-05/0.09858, allocations: 75.69 kB / 332.3 MB, free: 192 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.09874, allocations: 135 kB / 332.4 MB, free: 56 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004295/0.09917, allocations: 454.4 kB / 332.9 MB, free: 15.61 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.09918, allocations: 0 / 332.9 MB, free: 15.61 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.09919, allocations: 0 / 332.9 MB, free: 15.61 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.0992, allocations: 0 / 332.9 MB, free: 15.61 MB / 286.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.0008746/0.1001, allocations: 0.8177 MB / 333.7 MB, free: 14.71 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.1001, allocations: 8.031 kB / 333.7 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.975e-05/0.1002, allocations: 40.47 kB / 333.7 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.1006, allocations: 302.1 kB / 334 MB, free: 14.33 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.1006, allocations: 8.375 kB / 334 MB, free: 14.32 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.291e-05/0.1006, allocations: 8.375 kB / 334 MB, free: 14.31 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003853/0.101, allocations: 173.9 kB / 334.2 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1011, allocations: 0 / 334.2 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.1011, allocations: 7.938 kB / 334.2 MB, free: 14.13 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.1011, allocations: 0 / 334.2 MB, free: 14.13 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.1013, allocations: 83.95 kB / 334.3 MB, free: 14.05 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007551/0.1021, allocations: 0.4964 MB / 334.8 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.1023, allocations: 126.5 kB / 334.9 MB, free: 13.37 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.1025, allocations: 112.9 kB / 335 MB, free: 13.25 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.1025, allocations: 0 / 335 MB, free: 13.25 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004129/0.1029, allocations: 246.6 kB / 335.3 MB, free: 12.99 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.1029, allocations: 0 / 335.3 MB, free: 12.99 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.001026/0.104, allocations: 0.6147 MB / 335.9 MB, free: 12.34 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.1041, allocations: 199.9 kB / 336.1 MB, free: 12.1 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000759/0.1049, allocations: 0.5562 MB / 336.6 MB, free: 11.54 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.1049, allocations: 29.7 kB / 336.7 MB, free: 11.5 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.868e-05/0.105, allocations: 121 kB / 336.8 MB, free: 11.38 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.98e-05/0.1051, allocations: 27.72 kB / 336.8 MB, free: 11.35 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.1052, allocations: 101.2 kB / 336.9 MB, free: 11.25 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1054, allocations: 338.7 kB / 337.2 MB, free: 10.91 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.1055, allocations: 79.95 kB / 337.3 MB, free: 10.83 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.1057, allocations: 101.8 kB / 337.4 MB, free: 10.72 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004424/0.1062, allocations: 436.6 kB / 337.8 MB, free: 10.23 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1062, allocations: 0 / 337.8 MB, free: 10.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007158/0.1069, allocations: 0.5018 MB / 338.3 MB, free: 9.691 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001232/0.107, allocations: 156.6 kB / 338.5 MB, free: 9.508 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.107, allocations: 3.938 kB / 338.5 MB, free: 9.504 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.1071, allocations: 0 / 338.5 MB, free: 9.504 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.452e-05/0.1071, allocations: 4.031 kB / 338.5 MB, free: 9.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.1071, allocations: 4 kB / 338.5 MB, free: 9.496 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.1073, allocations: 11.98 kB / 338.5 MB, free: 9.484 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/0.1074, allocations: 97.3 kB / 338.6 MB, free: 9.387 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.0004286/0.1079, allocations: 408 kB / 339 MB, free: 8.945 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.045e-05/0.1079, allocations: 39.53 kB / 339.1 MB, free: 8.906 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.108, allocations: 75.45 kB / 339.1 MB, free: 8.828 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1081, allocations: 3.984 kB / 339.1 MB, free: 8.824 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1081, allocations: 4 kB / 339.1 MB, free: 8.82 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003505/0.1084, allocations: 256.3 kB / 339.4 MB, free: 8.551 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.403e-05/0.1085, allocations: 19.88 kB / 339.4 MB, free: 8.531 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.1086, allocations: 11.98 kB / 339.4 MB, free: 8.52 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/0.1088, allocations: 55.94 kB / 339.5 MB, free: 8.465 MB / 286.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009419/0.1098, allocations: 0.8695 MB / 340.3 MB, free: 7.496 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008482/0.1106, allocations: 0.745 MB / 341.1 MB, free: 6.703 MB / 286.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002527/0.1109, allocations: 183.9 kB / 341.3 MB, free: 6.523 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0005227/0.1114, allocations: 422.8 kB / 341.7 MB, free: 6.109 MB / 286.1 MB Notification: Performance of Backend: time 4.9e-07/0.1114, allocations: 0 / 341.7 MB, free: 6.109 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008237/0.1123, allocations: 0.5207 MB / 342.2 MB, free: 5.52 MB / 286.1 MB Notification: Performance of SimCode: time 0.001877/0.1142, allocations: 1.486 MB / 343.7 MB, free: 3.93 MB / 286.1 MB Notification: Performance of Templates: time 0.01064/0.1248, allocations: 6.789 MB / 350.5 MB, free: 12.98 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.makefile (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 & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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