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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001513/0.001513, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001776/0.001776, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.552/1.552, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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=5014,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.718e-05, allocations: 2.312 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.003031/0.003058, allocations: 1.538 MB / 273.7 MB, free: 256 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002353/0.005411, allocations: 0.8458 MB / 274.6 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.872e-05/0.00547, allocations: 0 / 274.6 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.005586, allocations: 19.8 kB / 274.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.00569, allocations: 27.8 kB / 274.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003128/0.006003, allocations: 59.86 kB / 274.7 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002664/0.00627, allocations: 151.6 kB / 274.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.00639, allocations: 25.52 kB / 274.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.007462, allocations: 0.6552 MB / 275.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.007675, allocations: 79.73 kB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.368e-05/0.007738, allocations: 12 kB / 275.6 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.153e-05/0.00779, allocations: 12 kB / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.007931, allocations: 79.64 kB / 275.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.008102, allocations: 63.73 kB / 275.8 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007512/0.008854, allocations: 462.4 kB / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.008857, allocations: 0 / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.008859, allocations: 0 / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.044e-06/0.008866, allocations: 0 / 276.2 MB, free: 13.77 MB / 266.7 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.001371/0.01024, allocations: 0.7463 MB / 277 MB, free: 12.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.826e-05/0.0103, allocations: 11.98 kB / 277 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.01047, allocations: 56.66 kB / 277 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004509/0.01092, allocations: 232 kB / 277.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.01095, allocations: 8.375 kB / 277.3 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.328e-05/0.01101, allocations: 16.38 kB / 277.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00068/0.01169, allocations: 314.5 kB / 277.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.0117, allocations: 4.172 kB / 277.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.658e-05/0.01175, allocations: 8.375 kB / 277.6 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.01176, allocations: 7.938 kB / 277.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004241/0.01218, allocations: 224.5 kB / 277.8 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.01333, allocations: 432.2 kB / 278.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004862/0.01382, allocations: 247 kB / 278.5 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004413/0.01426, allocations: 233.3 kB / 278.7 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.01427, allocations: 4 kB / 278.7 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007977/0.01507, allocations: 407 kB / 279.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.873e-06/0.01507, allocations: 0 / 279.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.00192/0.01699, allocations: 0.9206 MB / 280 MB, free: 9.531 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000195/0.01719, allocations: 199.9 kB / 280.2 MB, free: 9.293 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.01842, allocations: 0.5679 MB / 280.8 MB, free: 8.719 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.14e-05/0.01848, allocations: 33.7 kB / 280.8 MB, free: 8.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.01862, allocations: 117.1 kB / 280.9 MB, free: 8.559 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.927e-05/0.0187, allocations: 35.88 kB / 281 MB, free: 8.523 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/0.01894, allocations: 93.5 kB / 281.1 MB, free: 8.426 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000255/0.01919, allocations: 334.8 kB / 281.4 MB, free: 8.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003992/0.01959, allocations: 232.5 kB / 281.6 MB, free: 7.832 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004272/0.02002, allocations: 246.2 kB / 281.9 MB, free: 7.555 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007555/0.02077, allocations: 446.6 kB / 282.3 MB, free: 7.051 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.02078, allocations: 0 / 282.3 MB, free: 7.051 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001369/0.02215, allocations: 0.6693 MB / 283 MB, free: 6.316 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001807/0.02233, allocations: 152.4 kB / 283.1 MB, free: 6.137 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.02234, allocations: 0 / 283.1 MB, free: 6.137 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.02236, allocations: 0 / 283.1 MB, free: 6.137 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.498e-05/0.02238, allocations: 4.031 kB / 283.1 MB, free: 6.133 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.02239, allocations: 7.984 kB / 283.1 MB, free: 6.125 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.02262, allocations: 16 kB / 283.1 MB, free: 6.109 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000194/0.02282, allocations: 101.4 kB / 283.2 MB, free: 6.012 MB / 266.7 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.0006586/0.02348, allocations: 400.3 kB / 283.6 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.02363, allocations: 59.66 kB / 283.7 MB, free: 5.523 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001936/0.02382, allocations: 67.42 kB / 283.8 MB, free: 5.457 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.02382, allocations: 0 / 283.8 MB, free: 5.457 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.02383, allocations: 3.938 kB / 283.8 MB, free: 5.453 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.02383, allocations: 4 kB / 283.8 MB, free: 5.449 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/0.02584, allocations: 1.042 MB / 284.8 MB, free: 4.309 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.02584, allocations: 0 / 284.8 MB, free: 4.309 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.771e-06/0.02585, allocations: 0 / 284.8 MB, free: 4.309 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.02585, allocations: 0 / 284.8 MB, free: 4.309 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.677e-05/0.02591, allocations: 19.98 kB / 284.8 MB, free: 4.289 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.02591, allocations: 0 / 284.8 MB, free: 4.289 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.02591, allocations: 0 / 284.8 MB, free: 4.289 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/0.02747, allocations: 0.8397 MB / 285.7 MB, free: 3.371 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006156/0.02808, allocations: 213.4 kB / 285.9 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.02819, allocations: 12.19 kB / 285.9 MB, free: 3.148 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.02845, allocations: 23.98 kB / 285.9 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002517/0.0287, allocations: 55.94 kB / 286 MB, free: 3.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001889/0.02889, allocations: 105.3 kB / 286.1 MB, free: 2.965 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0008711/0.02976, allocations: 418.8 kB / 286.5 MB, free: 2.559 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02976, allocations: 0 / 286.5 MB, free: 2.559 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005651/0.03033, allocations: 52 kB / 286.5 MB, free: 2.508 MB / 266.7 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.000217/0.03054, allocations: 111.2 kB / 286.6 MB, free: 2.391 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001495/0.03204, allocations: 0.7674 MB / 287.4 MB, free: 1.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.03204, allocations: 0 / 287.4 MB, free: 1.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007565/0.0328, allocations: 0.5288 MB / 287.9 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.03402, allocations: 214.2 kB / 288.1 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.03605, allocations: 0.9129 MB / 289.1 MB, free: 15.71 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.03647, allocations: 211.6 kB / 289.3 MB, free: 15.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.243e-05/0.03654, allocations: 8.969 kB / 289.3 MB, free: 15.47 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.876e-05/0.03659, allocations: 24.5 kB / 289.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of SimCode: time 1.042e-06/0.03659, allocations: 7.875 kB / 289.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of Templates: time 0.01852/0.05511, allocations: 8.011 MB / 297.3 MB, free: 7.348 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/MUX2x1/MUX2x1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.556686322903261]