Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001213/0.001213, allocations: 110.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001364/0.001364, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3289, allocations: 50.54 MB / 409.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002583/0.3315, allocations: 1.56 MB / 411.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.3335, allocations: 0.8965 MB / 412.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.538e-05/0.3336, allocations: 0 / 412.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.468e-05/0.3337, allocations: 11.86 kB / 412.4 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.3339, allocations: 19.81 kB / 412.4 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.3342, allocations: 59.86 kB / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002405/0.3344, allocations: 167.7 kB / 412.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.3346, allocations: 25.39 kB / 412.7 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006466/0.3352, allocations: 0.6395 MB / 413.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.3354, allocations: 83.67 kB / 413.4 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.828e-05/0.3355, allocations: 12 kB / 413.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.026e-05/0.3355, allocations: 12 kB / 413.4 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.903e-05/0.3356, allocations: 75.64 kB / 413.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.3358, allocations: 131 kB / 413.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004691/0.3363, allocations: 450.4 kB / 414.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3363, allocations: 0 / 414.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3363, allocations: 0 / 414.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.3363, allocations: 4 kB / 414.1 MB, free: 13.41 MB / 334.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.0009298/0.3372, allocations: 0.8226 MB / 414.9 MB, free: 12.51 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.3373, allocations: 11.97 kB / 414.9 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.129e-05/0.3374, allocations: 44.45 kB / 414.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.3377, allocations: 294.2 kB / 415.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.3378, allocations: 12.31 kB / 415.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.3378, allocations: 8.375 kB / 415.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003609/0.3382, allocations: 169.9 kB / 415.4 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3382, allocations: 0 / 415.4 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.118e-05/0.3382, allocations: 8 kB / 415.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3382, allocations: 4 kB / 415.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.3384, allocations: 83.95 kB / 415.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007768/0.3392, allocations: 0.4925 MB / 416 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.3394, allocations: 122.5 kB / 416.1 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/0.3396, allocations: 108.9 kB / 416.2 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.3397, allocations: 0 / 416.2 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003703/0.34, allocations: 258.6 kB / 416.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 2.104e-06/0.3401, allocations: 4 kB / 416.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009881/0.341, allocations: 0.6181 MB / 417.1 MB, free: 10.13 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.62e-05/0.3412, allocations: 191.9 kB / 417.3 MB, free: 9.898 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000698/0.3419, allocations: 0.5562 MB / 417.8 MB, free: 9.324 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.389e-05/0.3419, allocations: 33.7 kB / 417.9 MB, free: 9.285 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.678e-05/0.342, allocations: 121 kB / 418 MB, free: 9.164 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.796e-05/0.3421, allocations: 31.7 kB / 418 MB, free: 9.133 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.3422, allocations: 97.41 kB / 418.1 MB, free: 9.031 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.3423, allocations: 326.8 kB / 418.4 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.3425, allocations: 83.95 kB / 418.5 MB, free: 8.621 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.3427, allocations: 93.78 kB / 418.6 MB, free: 8.523 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004219/0.3431, allocations: 445.8 kB / 419.1 MB, free: 8.023 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3431, allocations: 4 kB / 419.1 MB, free: 8.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006951/0.3438, allocations: 0.5019 MB / 419.6 MB, free: 7.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.923e-05/0.344, allocations: 148.5 kB / 419.7 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.344, allocations: 0 / 419.7 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.344, allocations: 0 / 419.7 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.008e-05/0.344, allocations: 7.922 kB / 419.7 MB, free: 7.297 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.344, allocations: 4 kB / 419.7 MB, free: 7.293 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.3442, allocations: 15.91 kB / 419.7 MB, free: 7.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.3443, allocations: 93.3 kB / 419.8 MB, free: 7.188 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.0003661/0.3447, allocations: 423.9 kB / 420.2 MB, free: 6.734 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.255e-05/0.3448, allocations: 39.53 kB / 420.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.898e-05/0.3449, allocations: 71.42 kB / 420.3 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.3449, allocations: 3.938 kB / 420.3 MB, free: 6.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3449, allocations: 0 / 420.3 MB, free: 6.625 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000364/0.3453, allocations: 256.4 kB / 420.6 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.935e-05/0.3453, allocations: 15.94 kB / 420.6 MB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.3455, allocations: 11.98 kB / 420.6 MB, free: 6.328 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.3456, allocations: 55.94 kB / 420.7 MB, free: 6.273 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009628/0.3466, allocations: 0.8694 MB / 421.5 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008179/0.3474, allocations: 0.7408 MB / 422.3 MB, free: 4.516 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002728/0.3477, allocations: 183.9 kB / 422.5 MB, free: 4.336 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006159/0.3483, allocations: 422.8 kB / 422.9 MB, free: 3.926 MB / 334.1 MB Notification: Performance of Backend: time 4.31e-07/0.3483, allocations: 0 / 422.9 MB, free: 3.926 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007978/0.3492, allocations: 0.5305 MB / 423.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of SimCode: time 0.001683/0.3508, allocations: 1.476 MB / 424.9 MB, free: 1.75 MB / 334.1 MB Notification: Performance of Templates: time 0.01115/0.362, allocations: 6.803 MB / 431.7 MB, free: 10.81 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches