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.001103/0.001103, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001561/0.002664, allocations: 449.7 kB / 10.37 MB, free: 324 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.001174/0.001174, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001439/0.002613, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9481/0.9481, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09167/1.04, allocations: 53.87 MB / 243.8 MB, free: 14.91 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.633e-06/1.633e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.247e-05, allocations: 6.25 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.003404/0.003427, allocations: 1.617 MB / 246.6 MB, free: 12.02 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.005375, allocations: 0.9284 MB / 247.6 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.375e-05/0.005439, allocations: 0 / 247.6 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.874e-05/0.005528, allocations: 15.86 kB / 247.6 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.423e-05/0.005602, allocations: 15.86 kB / 247.6 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.005824, allocations: 59.81 kB / 247.7 MB, free: 11 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002307/0.006054, allocations: 159.6 kB / 247.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.682e-05/0.006141, allocations: 22.22 kB / 247.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006882/0.006829, allocations: 0.6044 MB / 248.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.006967, allocations: 63.81 kB / 248.5 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.257e-05/0.007009, allocations: 12 kB / 248.5 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.348e-05/0.007043, allocations: 12 kB / 248.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.347e-05/0.007126, allocations: 71.72 kB / 248.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.657e-05/0.007213, allocations: 51.75 kB / 248.6 MB, free: 10 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003291/0.007542, allocations: 306.9 kB / 248.9 MB, free: 9.703 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.617e-05/0.007558, allocations: 0 / 248.9 MB, free: 9.703 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.00756, allocations: 0 / 248.9 MB, free: 9.703 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.804e-05/0.007578, allocations: 4 kB / 248.9 MB, free: 9.699 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.0008041/0.008382, allocations: 0.7601 MB / 249.7 MB, free: 8.883 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.008417, allocations: 16.56 kB / 249.7 MB, free: 8.867 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.937e-05/0.008496, allocations: 32.91 kB / 249.8 MB, free: 8.836 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.008739, allocations: 231.9 kB / 250 MB, free: 8.582 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.008761, allocations: 8.375 kB / 250 MB, free: 8.574 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.00879, allocations: 12.38 kB / 250 MB, free: 8.562 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000363/0.009153, allocations: 275.3 kB / 250.3 MB, free: 8.254 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.00916, allocations: 192 / 250.3 MB, free: 8.254 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.009182, allocations: 12.31 kB / 250.3 MB, free: 8.242 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.009189, allocations: 7.938 kB / 250.3 MB, free: 8.234 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.009335, allocations: 196 kB / 250.5 MB, free: 8.016 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003788/0.009714, allocations: 224.1 kB / 250.7 MB, free: 7.781 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.009896, allocations: 215 kB / 250.9 MB, free: 7.531 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.01004, allocations: 197.4 kB / 251.1 MB, free: 7.305 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.084e-06/0.01005, allocations: 4 kB / 251.1 MB, free: 7.301 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002754/0.01032, allocations: 351 kB / 251.4 MB, free: 6.902 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.01032, allocations: 0 / 251.4 MB, free: 6.902 MB / 250.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005374/0.01086, allocations: 0.6475 MB / 252.1 MB, free: 6.156 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.0109, allocations: 85.11 kB / 252.2 MB, free: 6.055 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004487/0.01135, allocations: 399.1 kB / 252.6 MB, free: 5.652 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.01138, allocations: 29.7 kB / 252.6 MB, free: 5.617 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.942e-05/0.01143, allocations: 109 kB / 252.7 MB, free: 5.508 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.01147, allocations: 27.8 kB / 252.7 MB, free: 5.48 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.01157, allocations: 73.53 kB / 252.8 MB, free: 5.402 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.699e-05/0.01167, allocations: 338.8 kB / 253.1 MB, free: 5.062 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.0118, allocations: 188.5 kB / 253.3 MB, free: 4.848 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.01194, allocations: 210.2 kB / 253.5 MB, free: 4.605 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.01221, allocations: 406.6 kB / 253.9 MB, free: 4.141 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01221, allocations: 0 / 253.9 MB, free: 4.141 MB / 250.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003432/0.01255, allocations: 442.5 kB / 254.4 MB, free: 3.641 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.16e-05/0.01264, allocations: 156.5 kB / 254.5 MB, free: 3.457 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.01265, allocations: 0 / 254.5 MB, free: 3.457 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/0.01266, allocations: 0 / 254.5 MB, free: 3.457 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.267e-05/0.01268, allocations: 8.047 kB / 254.5 MB, free: 3.449 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.01268, allocations: 3.938 kB / 254.5 MB, free: 3.445 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.0128, allocations: 12.03 kB / 254.5 MB, free: 3.434 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.788e-05/0.01288, allocations: 69.48 kB / 254.6 MB, free: 3.363 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.0003226/0.0132, allocations: 367.2 kB / 255 MB, free: 2.965 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.901e-05/0.01326, allocations: 39.91 kB / 255 MB, free: 2.926 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.01336, allocations: 59.41 kB / 255.1 MB, free: 2.871 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.01337, allocations: 0 / 255.1 MB, free: 2.871 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.01337, allocations: 0 / 255.1 MB, free: 2.871 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.01337, allocations: 4 kB / 255.1 MB, free: 2.867 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006064/0.01398, allocations: 0.6985 MB / 255.8 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01398, allocations: 4 kB / 255.8 MB, free: 2.082 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.743e-06/0.01399, allocations: 3.938 kB / 255.8 MB, free: 2.078 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002617/0.01425, allocations: 143.4 kB / 255.9 MB, free: 1.934 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.01425, allocations: 0 / 255.9 MB, free: 1.934 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.01428, allocations: 11.98 kB / 255.9 MB, free: 1.922 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.01428, allocations: 0 / 255.9 MB, free: 1.922 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01428, allocations: 0 / 255.9 MB, free: 1.922 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004219/0.0147, allocations: 0.5823 MB / 256.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.398e-05/0.01476, allocations: 12 kB / 256.5 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.01489, allocations: 11.98 kB / 256.5 MB, free: 1.238 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.983e-05/0.01498, allocations: 35.97 kB / 256.6 MB, free: 1.203 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.989e-05/0.01505, allocations: 69.55 kB / 256.6 MB, free: 1.137 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002261/0.01527, allocations: 176.6 kB / 256.8 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.01527, allocations: 0 / 256.8 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002752/0.01555, allocations: 55.89 kB / 256.8 MB, free: 0.9062 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 0.0001325/0.01568, allocations: 96.38 kB / 256.9 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005129/0.01619, allocations: 0.7097 MB / 257.7 MB, free: 15.97 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/0.0162, allocations: 4 kB / 257.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003057/0.01651, allocations: 0.5012 MB / 258.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006105/0.01712, allocations: 226.5 kB / 258.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.01835, allocations: 0.8531 MB / 259.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.825e-05/0.01845, allocations: 107.7 kB / 259.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.936e-05/0.01851, allocations: 8.969 kB / 259.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004438/0.01895, allocations: 199.3 kB / 259.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01895, allocations: 0 / 259.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of Templates: time 0.009808/0.02876, allocations: 6.44 MB / 266 MB, free: 7.469 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.661147318780422]