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.0008151/0.0008151, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001045/0.001861, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001065/0.001065, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001445/0.00251, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9451/0.9451, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08586/1.031, allocations: 53.86 MB / 243.9 MB, free: 14.85 MB / 250.7 MB " [Timeout remaining time 179] 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.312e-06/1.312e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.543e-05/1.674e-05, allocations: 9.406 kB / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.001655/0.001672, allocations: 1.621 MB / 246.8 MB, free: 11.92 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.002998, allocations: 0.9127 MB / 247.7 MB, free: 11 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.685e-05/0.003055, allocations: 4 kB / 247.7 MB, free: 11 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.377e-05/0.003129, allocations: 11.86 kB / 247.8 MB, free: 10.99 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.1e-05/0.00319, allocations: 35.72 kB / 247.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001816/0.003372, allocations: 55.81 kB / 247.8 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.003561, allocations: 159.6 kB / 248 MB, free: 10.74 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.346e-05/0.003645, allocations: 18.22 kB / 248 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004973/0.004142, allocations: 0.6082 MB / 248.6 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.004247, allocations: 59.83 kB / 248.7 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.558e-05/0.004282, allocations: 12 kB / 248.7 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.481e-05/0.004307, allocations: 8 kB / 248.7 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.563e-05/0.004373, allocations: 75.7 kB / 248.8 MB, free: 9.965 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.731e-05/0.00443, allocations: 63.73 kB / 248.8 MB, free: 9.902 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.004648, allocations: 306.9 kB / 249.1 MB, free: 9.602 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.053e-05/0.004659, allocations: 0 / 249.1 MB, free: 9.602 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004659, allocations: 0 / 249.1 MB, free: 9.602 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.00467, allocations: 0 / 249.1 MB, free: 9.602 MB / 250.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.0005929/0.005262, allocations: 0.7562 MB / 249.9 MB, free: 8.789 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.005293, allocations: 8.625 kB / 249.9 MB, free: 8.781 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.129e-05/0.005354, allocations: 36.89 kB / 249.9 MB, free: 8.746 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.005557, allocations: 228 kB / 250.2 MB, free: 8.496 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.005576, allocations: 8.375 kB / 250.2 MB, free: 8.488 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.005597, allocations: 16.31 kB / 250.2 MB, free: 8.473 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.005891, allocations: 283.3 kB / 250.5 MB, free: 8.156 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.005899, allocations: 192 / 250.5 MB, free: 8.156 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.005917, allocations: 8.375 kB / 250.5 MB, free: 8.148 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.005925, allocations: 3.938 kB / 250.5 MB, free: 8.145 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.006048, allocations: 192.5 kB / 250.7 MB, free: 7.926 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.006402, allocations: 224.1 kB / 250.9 MB, free: 7.691 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.006568, allocations: 222.9 kB / 251.1 MB, free: 7.434 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.006673, allocations: 201.4 kB / 251.3 MB, free: 7.203 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.761e-06/0.006679, allocations: 0 / 251.3 MB, free: 7.203 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002262/0.006905, allocations: 347.1 kB / 251.6 MB, free: 6.809 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.006907, allocations: 4 kB / 251.6 MB, free: 6.805 MB / 250.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004404/0.007347, allocations: 0.6436 MB / 252.3 MB, free: 6.062 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.366e-05/0.007421, allocations: 178.2 kB / 252.5 MB, free: 5.852 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.007713, allocations: 395.1 kB / 252.8 MB, free: 5.453 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.007737, allocations: 37.69 kB / 252.9 MB, free: 5.41 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.077e-05/0.007778, allocations: 101.1 kB / 253 MB, free: 5.309 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.007807, allocations: 31.8 kB / 253 MB, free: 5.277 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.204e-05/0.007889, allocations: 81.5 kB / 253.1 MB, free: 5.191 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.276e-05/0.007961, allocations: 330.8 kB / 253.4 MB, free: 4.859 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.008132, allocations: 196.4 kB / 253.6 MB, free: 4.637 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.42e-05/0.008226, allocations: 206.2 kB / 253.8 MB, free: 4.398 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.008413, allocations: 401.7 kB / 254.2 MB, free: 3.941 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.008415, allocations: 0 / 254.2 MB, free: 3.941 MB / 250.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002364/0.008651, allocations: 442.5 kB / 254.6 MB, free: 3.441 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.093e-05/0.008722, allocations: 160.5 kB / 254.8 MB, free: 3.254 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.008727, allocations: 0 / 254.8 MB, free: 3.254 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.008742, allocations: 0 / 254.8 MB, free: 3.254 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.604e-05/0.008758, allocations: 4 kB / 254.8 MB, free: 3.25 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.008761, allocations: 0 / 254.8 MB, free: 3.25 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.008862, allocations: 11.98 kB / 254.8 MB, free: 3.238 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.164e-05/0.008914, allocations: 65.55 kB / 254.9 MB, free: 3.176 MB / 250.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.0002315/0.009145, allocations: 379.1 kB / 255.2 MB, free: 2.766 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-05/0.009184, allocations: 43.89 kB / 255.3 MB, free: 2.723 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.36e-05/0.009258, allocations: 55.42 kB / 255.3 MB, free: 2.672 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.009259, allocations: 4 kB / 255.3 MB, free: 2.668 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.009261, allocations: 0 / 255.3 MB, free: 2.668 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.009265, allocations: 4 kB / 255.3 MB, free: 2.664 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004021/0.009667, allocations: 0.6909 MB / 256 MB, free: 1.887 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.009668, allocations: 3.938 kB / 256 MB, free: 1.883 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.969e-06/0.009673, allocations: 3.938 kB / 256 MB, free: 1.879 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/0.009848, allocations: 139.4 kB / 256.2 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.00985, allocations: 0 / 256.2 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.009867, allocations: 15.98 kB / 256.2 MB, free: 1.723 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.009869, allocations: 128 / 256.2 MB, free: 1.723 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.00987, allocations: 8 kB / 256.2 MB, free: 1.715 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.01014, allocations: 0.5746 MB / 256.8 MB, free: 1.062 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.5e-05/0.01018, allocations: 12 kB / 256.8 MB, free: 1.051 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.565e-05/0.01025, allocations: 11.98 kB / 256.8 MB, free: 1.039 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002134/0.01047, allocations: 39.95 kB / 256.8 MB, free: 1 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.575e-05/0.01051, allocations: 73.36 kB / 256.9 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001416/0.01065, allocations: 176.6 kB / 257.1 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01065, allocations: 0 / 257.1 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001729/0.01083, allocations: 55.95 kB / 257.1 MB, free: 0.6992 MB / 250.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 8.341e-05/0.01091, allocations: 100.3 kB / 257.2 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003527/0.01126, allocations: 0.698 MB / 257.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.01127, allocations: 8 kB / 257.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.01148, allocations: 0.5011 MB / 258.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000523/0.01201, allocations: 0.6798 MB / 259.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008787/0.01288, allocations: 0.857 MB / 260 MB, free: 13.48 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.685e-05/0.01295, allocations: 103.7 kB / 260.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.377e-05/0.013, allocations: 20.94 kB / 260.1 MB, free: 13.33 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000302/0.0133, allocations: 199.5 kB / 260.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of SimCode: time 8.31e-07/0.0133, allocations: 0 / 260.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of Templates: time 0.006594/0.01989, allocations: 6.446 MB / 266.7 MB, free: 6.68 MB / 266.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5871880957856774]