Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_4.0.0_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.001609/0.001609, allocations: 110.6 kB / 17.75 MB, free: 5.215 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.001826/0.001826, allocations: 186.4 kB / 18.67 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001017/0.001017, allocations: 47.94 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2335, allocations: 49.44 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002537/0.236, allocations: 1.553 MB / 403 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.2378, allocations: 0.8676 MB / 403.8 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.161e-05/0.2379, allocations: 3.938 kB / 403.8 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.587e-05/0.238, allocations: 11.92 kB / 403.8 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.929e-05/0.2381, allocations: 19.81 kB / 403.9 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.2384, allocations: 59.86 kB / 403.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.2386, allocations: 167.7 kB / 404.1 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.2387, allocations: 33.36 kB / 404.1 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000633/0.2394, allocations: 0.6317 MB / 404.8 MB, free: 5.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.2395, allocations: 91.61 kB / 404.8 MB, free: 5.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.803e-05/0.2396, allocations: 12 kB / 404.9 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.743e-05/0.2397, allocations: 12 kB / 404.9 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.2398, allocations: 67.7 kB / 404.9 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.2399, allocations: 143 kB / 405.1 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004034/0.2403, allocations: 450.4 kB / 405.5 MB, free: 4.758 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2403, allocations: 0 / 405.5 MB, free: 4.758 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2404, allocations: 0 / 405.5 MB, free: 4.758 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.2404, allocations: 0 / 405.5 MB, free: 4.758 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.0008509/0.2412, allocations: 0.8111 MB / 406.3 MB, free: 3.871 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.2413, allocations: 16.02 kB / 406.3 MB, free: 3.855 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.268e-05/0.2414, allocations: 48.38 kB / 406.4 MB, free: 3.809 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.2417, allocations: 294.2 kB / 406.7 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.2417, allocations: 8.375 kB / 406.7 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.586e-05/0.2417, allocations: 12.38 kB / 406.7 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003406/0.2421, allocations: 177.8 kB / 406.9 MB, free: 3.281 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.2421, allocations: 0 / 406.9 MB, free: 3.281 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.2421, allocations: 4 kB / 406.9 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2422, allocations: 3.938 kB / 406.9 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.2423, allocations: 83.95 kB / 407 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007388/0.2431, allocations: 0.5003 MB / 407.5 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.2433, allocations: 122.5 kB / 407.6 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.2435, allocations: 108.9 kB / 407.7 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.2435, allocations: 4 kB / 407.7 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003693/0.2439, allocations: 242.6 kB / 407.9 MB, free: 2.137 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/0.2439, allocations: 0 / 407.9 MB, free: 2.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009702/0.2449, allocations: 0.6185 MB / 408.5 MB, free: 1.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.256e-05/0.245, allocations: 195.9 kB / 408.7 MB, free: 1.246 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000643/0.2456, allocations: 0.564 MB / 409.3 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/0.2457, allocations: 29.7 kB / 409.3 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.193e-05/0.2458, allocations: 121 kB / 409.4 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.452e-05/0.2458, allocations: 27.7 kB / 409.5 MB, free: 492 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.2459, allocations: 93.41 kB / 409.6 MB, free: 392 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.2461, allocations: 334.7 kB / 409.9 MB, free: 48 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.2462, allocations: 79.95 kB / 410 MB, free: 15.97 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.2464, allocations: 104.5 kB / 410.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003982/0.2468, allocations: 430.7 kB / 410.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2468, allocations: 0 / 410.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006734/0.2475, allocations: 0.5018 MB / 411 MB, free: 14.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.2476, allocations: 152.5 kB / 411.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.2476, allocations: 4.094 kB / 411.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.2477, allocations: 7.938 kB / 411.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.997e-05/0.2477, allocations: 4.031 kB / 411.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.2477, allocations: 0 / 411.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.2479, allocations: 15.91 kB / 411.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.248, allocations: 97.3 kB / 411.3 MB, free: 14.53 MB / 334.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.0003675/0.2484, allocations: 404 kB / 411.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.069e-05/0.2484, allocations: 47.47 kB / 411.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.888e-05/0.2485, allocations: 71.47 kB / 411.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2486, allocations: 0 / 411.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.2486, allocations: 4 kB / 411.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003511/0.2489, allocations: 256.4 kB / 412 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.454e-05/0.249, allocations: 16 kB / 412 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.2491, allocations: 19.92 kB / 412.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.2493, allocations: 55.92 kB / 412.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000867/0.2502, allocations: 0.8733 MB / 413 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007892/0.251, allocations: 0.7478 MB / 413.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002391/0.2512, allocations: 179.9 kB / 413.9 MB, free: 11.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004742/0.2517, allocations: 422.8 kB / 414.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of Backend: time 4.11e-07/0.2517, allocations: 0 / 414.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007527/0.2525, allocations: 0.5228 MB / 414.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of SimCode: time 0.001616/0.2541, allocations: 1.481 MB / 416.3 MB, free: 9.102 MB / 334.1 MB Notification: Performance of Templates: time 0.009342/0.2635, allocations: 6.797 MB / 423.1 MB, free: 2.18 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/MUX2x1/MUX2x1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches