Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002051/0.002051, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002649/0.002649, allocations: 209.2 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.931/1.931, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 48 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.386, allocations: 53.37 MB / 432.3 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.003734/0.3897, allocations: 1.521 MB / 433.8 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002924/0.3926, allocations: 0.8537 MB / 434.7 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.3928, allocations: 4 kB / 434.7 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.3929, allocations: 7.875 kB / 434.7 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.393, allocations: 31.78 kB / 434.7 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003411/0.3933, allocations: 59.86 kB / 434.8 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003173/0.3937, allocations: 159.7 kB / 435 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.3938, allocations: 16.55 kB / 435 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009523/0.3947, allocations: 0.6395 MB / 435.6 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002449/0.395, allocations: 79.69 kB / 435.7 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.728e-05/0.3951, allocations: 15.94 kB / 435.7 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.406e-05/0.3951, allocations: 15.94 kB / 435.7 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.3953, allocations: 75.73 kB / 435.8 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001839/0.3955, allocations: 103.2 kB / 435.9 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000709/0.3962, allocations: 457.8 kB / 436.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3962, allocations: 0 / 436.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3962, allocations: 0 / 436.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.3962, allocations: 0 / 436.3 MB, free: 2.727 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.001377/0.3976, allocations: 0.7541 MB / 437.1 MB, free: 1.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.3976, allocations: 8.031 kB / 437.1 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.3977, allocations: 44.66 kB / 437.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000439/0.3982, allocations: 240.7 kB / 437.4 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.3982, allocations: 12.38 kB / 437.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-05/0.3983, allocations: 12.38 kB / 437.4 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005994/0.3989, allocations: 322.3 kB / 437.7 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3989, allocations: 0 / 437.7 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.89e-05/0.3989, allocations: 7.984 kB / 437.7 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3989, allocations: 0 / 437.7 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003589/0.3993, allocations: 232.5 kB / 438 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.4003, allocations: 432.1 kB / 438.4 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003883/0.4007, allocations: 247 kB / 438.6 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003489/0.4011, allocations: 233.4 kB / 438.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.4011, allocations: 4 kB / 438.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000645/0.4017, allocations: 387.1 kB / 439.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.933e-06/0.4017, allocations: 0 / 439.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001563/0.4033, allocations: 0.9043 MB / 440.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/0.4034, allocations: 195.9 kB / 440.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.4045, allocations: 0.564 MB / 440.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.974e-05/0.4045, allocations: 33.7 kB / 440.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.4046, allocations: 109.1 kB / 441 MB, free: 13.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.736e-05/0.4047, allocations: 39.72 kB / 441.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.4049, allocations: 101.5 kB / 441.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.4051, allocations: 330.8 kB / 441.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003284/0.4054, allocations: 232.5 kB / 441.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003497/0.4057, allocations: 246.2 kB / 442 MB, free: 12.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006181/0.4064, allocations: 441.6 kB / 442.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4064, allocations: 0 / 442.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001107/0.4075, allocations: 0.6549 MB / 443 MB, free: 11.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001371/0.4076, allocations: 152.4 kB / 443.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.4076, allocations: 0 / 443.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.292e-05/0.4076, allocations: 7.922 kB / 443.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.269e-05/0.4077, allocations: 0 / 443.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.4077, allocations: 8.031 kB / 443.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.4079, allocations: 12 kB / 443.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/0.408, allocations: 93.3 kB / 443.3 MB, free: 11.04 MB / 350.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.0005667/0.4086, allocations: 407.9 kB / 443.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.4087, allocations: 47.72 kB / 443.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001589/0.4089, allocations: 67.42 kB / 443.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.4089, allocations: 0 / 443.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.4089, allocations: 0 / 443.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.4089, allocations: 7.922 kB / 443.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.4106, allocations: 1.034 MB / 444.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4106, allocations: 0 / 444.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.773e-06/0.4106, allocations: 0 / 444.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.4106, allocations: 0 / 444.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.253e-05/0.4107, allocations: 23.98 kB / 444.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/0.4107, allocations: 4.062 kB / 444.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.4107, allocations: 8 kB / 444.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.412, allocations: 0.8086 MB / 445.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006294/0.4126, allocations: 213.3 kB / 445.9 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.4128, allocations: 15.98 kB / 445.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.413, allocations: 8 kB / 445.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/0.4132, allocations: 59.94 kB / 446 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001659/0.4134, allocations: 109.2 kB / 446.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007758/0.4142, allocations: 422.8 kB / 446.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4142, allocations: 0 / 446.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004792/0.4146, allocations: 48 kB / 446.6 MB, free: 7.578 MB / 350.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.0001862/0.4148, allocations: 115.2 kB / 446.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.4159, allocations: 0.7635 MB / 447.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.4159, allocations: 4 kB / 447.4 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005867/0.4165, allocations: 0.5249 MB / 448 MB, free: 5.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.4176, allocations: 186.1 kB / 448.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.4194, allocations: 0.9084 MB / 449.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.4197, allocations: 211.5 kB / 449.3 MB, free: 4.586 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.469e-05/0.4198, allocations: 12.97 kB / 449.3 MB, free: 4.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.19e-05/0.4199, allocations: 15.44 kB / 449.3 MB, free: 4.555 MB / 350.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4199, allocations: 0 / 449.3 MB, free: 4.555 MB / 350.1 MB Notification: Performance of Templates: time 0.01879/0.4387, allocations: 8.152 MB / 457.4 MB, free: 12.34 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/MUX2x1/MUX2x1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.676644495993969]