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.0009352/0.0009352, allocations: 86.59 kB / 21.43 MB, free: 3.066 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.0009128/0.0009128, allocations: 168.2 kB / 24.82 MB, free: 8.875 MB / 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 0.9766/0.9766, allocations: 177 MB / 205.1 MB, free: 5.477 MB / 186.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.493e-06/1.493e-06, allocations: 0 / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.212e-05/1.362e-05, allocations: 5.266 kB / 273.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.001777/0.001791, allocations: 1.568 MB / 274.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.003226, allocations: 0.8692 MB / 275.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.61e-05/0.003282, allocations: 4 kB / 275.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.417e-05/0.003367, allocations: 11.86 kB / 275.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.979e-05/0.003446, allocations: 27.8 kB / 275.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002293/0.003676, allocations: 55.86 kB / 275.9 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.003846, allocations: 151.7 kB / 276 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.259e-05/0.003939, allocations: 25.52 kB / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005311/0.00447, allocations: 0.6629 MB / 276.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.004592, allocations: 71.8 kB / 276.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.303e-05/0.004635, allocations: 8 kB / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.739e-05/0.004662, allocations: 12 kB / 276.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.072e-05/0.004733, allocations: 75.72 kB / 276.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.267e-05/0.004806, allocations: 71.64 kB / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.005069, allocations: 358.7 kB / 277.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.005071, allocations: 0 / 277.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005072, allocations: 0 / 277.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.005076, allocations: 0 / 277.3 MB, free: 13.25 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.0009867/0.006063, allocations: 0.8851 MB / 278.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.006109, allocations: 15.92 kB / 278.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.494e-05/0.006183, allocations: 56.66 kB / 278.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.006391, allocations: 238.8 kB / 278.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.006411, allocations: 4.375 kB / 278.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.006434, allocations: 16.38 kB / 278.5 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002965/0.006731, allocations: 299.2 kB / 278.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.006738, allocations: 192 / 278.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.006755, allocations: 4.375 kB / 278.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.006761, allocations: 3.938 kB / 278.8 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.006874, allocations: 204.5 kB / 279 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004563/0.00733, allocations: 440 kB / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.007495, allocations: 227.5 kB / 279.6 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.007615, allocations: 204.2 kB / 279.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.374e-06/0.007623, allocations: 4 kB / 279.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002458/0.007869, allocations: 380.7 kB / 280.2 MB, free: 9.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 2.033e-06/0.007871, allocations: 0 / 280.2 MB, free: 9.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006231/0.008494, allocations: 0.8348 MB / 281 MB, free: 9.047 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.00856, allocations: 195.9 kB / 281.2 MB, free: 8.812 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004697/0.00903, allocations: 0.5489 MB / 281.8 MB, free: 8.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.009055, allocations: 37.64 kB / 281.8 MB, free: 8.207 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.462e-05/0.009129, allocations: 167.8 kB / 282 MB, free: 8.035 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.009162, allocations: 31.92 kB / 282 MB, free: 8.004 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.879e-05/0.009251, allocations: 107.1 kB / 282.1 MB, free: 7.891 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.009383, allocations: 0.504 MB / 282.6 MB, free: 7.375 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.009494, allocations: 196.5 kB / 282.8 MB, free: 7.152 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.009603, allocations: 211.8 kB / 283 MB, free: 6.906 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.009799, allocations: 411.2 kB / 283.4 MB, free: 6.438 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.009801, allocations: 112 / 283.4 MB, free: 6.438 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003968/0.0102, allocations: 0.6077 MB / 284 MB, free: 5.762 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.632e-05/0.01026, allocations: 156.5 kB / 284.2 MB, free: 5.578 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.01027, allocations: 0 / 284.2 MB, free: 5.578 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.01028, allocations: 4 kB / 284.2 MB, free: 5.574 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.365e-05/0.01029, allocations: 0 / 284.2 MB, free: 5.574 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.786e-06/0.0103, allocations: 0 / 284.2 MB, free: 5.574 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.117e-05/0.01039, allocations: 15.98 kB / 284.2 MB, free: 5.559 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-05/0.01045, allocations: 101.5 kB / 284.3 MB, free: 5.461 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.0005145/0.01097, allocations: 427 kB / 284.7 MB, free: 5.004 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-05/0.01102, allocations: 59.66 kB / 284.8 MB, free: 4.945 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.35e-05/0.01111, allocations: 63.34 kB / 284.8 MB, free: 4.879 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.01111, allocations: 3.938 kB / 284.9 MB, free: 4.875 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.01111, allocations: 0 / 284.9 MB, free: 4.875 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.01111, allocations: 0 / 284.9 MB, free: 4.875 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000681/0.01179, allocations: 0.9987 MB / 285.8 MB, free: 3.781 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.0118, allocations: 3.938 kB / 285.9 MB, free: 3.777 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.589e-06/0.0118, allocations: 4 kB / 285.9 MB, free: 3.773 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.0118, allocations: 0 / 285.9 MB, free: 3.773 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.01182, allocations: 19.98 kB / 285.9 MB, free: 3.754 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.01183, allocations: 0 / 285.9 MB, free: 3.754 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.01183, allocations: 0 / 285.9 MB, free: 3.754 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004726/0.0123, allocations: 0.8283 MB / 286.7 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002405/0.01254, allocations: 197.3 kB / 286.9 MB, free: 2.652 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.705e-05/0.01258, allocations: 12.19 kB / 286.9 MB, free: 2.641 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.164e-05/0.01266, allocations: 19.98 kB / 286.9 MB, free: 2.621 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.41e-05/0.01273, allocations: 39.97 kB / 287 MB, free: 2.582 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.248e-05/0.01279, allocations: 101.4 kB / 287.1 MB, free: 2.484 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002158/0.01301, allocations: 330.8 kB / 287.4 MB, free: 2.164 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01301, allocations: 0 / 287.4 MB, free: 2.164 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001836/0.01319, allocations: 48 kB / 287.4 MB, free: 2.117 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 8.988e-05/0.01328, allocations: 111.2 kB / 287.5 MB, free: 1.996 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004029/0.01369, allocations: 0.7163 MB / 288.3 MB, free: 1.152 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01369, allocations: 0 / 288.3 MB, free: 1.152 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002192/0.01391, allocations: 0.5011 MB / 288.8 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004761/0.01438, allocations: 208.5 kB / 289 MB, free: 380 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008937/0.01528, allocations: 0.8481 MB / 289.8 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.01539, allocations: 107.8 kB / 289.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.66e-05/0.01543, allocations: 16.94 kB / 289.9 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003855/0.01581, allocations: 274 kB / 290.2 MB, free: 15.05 MB / 282.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01581, allocations: 0 / 290.2 MB, free: 15.05 MB / 282.7 MB Notification: Performance of Templates: time 0.008238/0.02405, allocations: 7.349 MB / 297.6 MB, free: 7.617 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=240 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7636945168487728]