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.001019/0.001019, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001268/0.001268, allocations: 166.5 kB / 24.99 MB, free: 8.801 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.9871/0.9871, allocations: 177 MB / 205.2 MB, free: 5.594 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.292e-06/1.292e-06, allocations: 0 / 273 MB, free: 1.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.526e-05, allocations: 6.25 kB / 273 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.001824/0.001849, allocations: 1.574 MB / 274.6 MB, free: 180 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.003908, allocations: 0.8692 MB / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.347e-05/0.003971, allocations: 0 / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.251e-05/0.004064, allocations: 15.86 kB / 275.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.643e-05/0.00414, allocations: 23.78 kB / 275.5 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.0044, allocations: 55.88 kB / 275.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.004578, allocations: 159.6 kB / 275.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.908e-05/0.004677, allocations: 25.5 kB / 275.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004799/0.005157, allocations: 0.6513 MB / 276.4 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.005279, allocations: 83.67 kB / 276.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.497e-05/0.005314, allocations: 12 kB / 276.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.851e-05/0.005343, allocations: 12 kB / 276.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.224e-05/0.005415, allocations: 71.72 kB / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.926e-05/0.005494, allocations: 63.72 kB / 276.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002769/0.005771, allocations: 358.7 kB / 276.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.005775, allocations: 0 / 276.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.005776, allocations: 0 / 276.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.005782, allocations: 4 kB / 276.9 MB, free: 13.78 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.0006568/0.006438, allocations: 0.8774 MB / 277.8 MB, free: 12.83 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.006472, allocations: 15.98 kB / 277.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.182e-05/0.006554, allocations: 56.66 kB / 277.9 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.006757, allocations: 246.7 kB / 278.1 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.006777, allocations: 12.38 kB / 278.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.006799, allocations: 8.375 kB / 278.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003169/0.007116, allocations: 311.3 kB / 278.5 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.43e-06/0.007121, allocations: 192 / 278.5 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.00714, allocations: 4.375 kB / 278.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.007149, allocations: 11.94 kB / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.007288, allocations: 216.4 kB / 278.7 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005588/0.007847, allocations: 0.5423 MB / 279.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.008023, allocations: 235.5 kB / 279.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.008169, allocations: 232.1 kB / 279.7 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.008177, allocations: 0 / 279.7 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002702/0.008447, allocations: 384.8 kB / 280.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.008449, allocations: 0 / 280.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007224/0.009171, allocations: 0.8894 MB / 281 MB, free: 9.336 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.545e-05/0.009246, allocations: 199.9 kB / 281.1 MB, free: 9.098 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005671/0.009814, allocations: 0.6661 MB / 281.8 MB, free: 8.418 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.009837, allocations: 33.7 kB / 281.8 MB, free: 8.379 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.736e-05/0.009904, allocations: 167.8 kB / 282 MB, free: 8.207 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.009937, allocations: 31.88 kB / 282 MB, free: 8.176 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.678e-05/0.01002, allocations: 103.1 kB / 282.1 MB, free: 8.066 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.01014, allocations: 0.5001 MB / 282.6 MB, free: 7.555 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.01028, allocations: 212.5 kB / 282.9 MB, free: 7.316 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.01041, allocations: 235.8 kB / 283.1 MB, free: 7.047 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/0.01065, allocations: 431.5 kB / 283.5 MB, free: 6.559 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.01065, allocations: 0 / 283.5 MB, free: 6.559 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004939/0.01114, allocations: 0.6312 MB / 284.1 MB, free: 5.859 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.011e-05/0.01122, allocations: 159.1 kB / 284.3 MB, free: 5.676 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.01123, allocations: 0 / 284.3 MB, free: 5.676 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.01124, allocations: 0 / 284.3 MB, free: 5.676 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.306e-05/0.01125, allocations: 0 / 284.3 MB, free: 5.676 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.01125, allocations: 4 kB / 284.3 MB, free: 5.672 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.01136, allocations: 23.95 kB / 284.3 MB, free: 5.648 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.934e-05/0.01143, allocations: 101.4 kB / 284.4 MB, free: 5.551 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.0002376/0.01167, allocations: 415 kB / 284.8 MB, free: 5.105 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.682e-05/0.01172, allocations: 59.66 kB / 284.9 MB, free: 5.047 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.031e-05/0.01179, allocations: 63.39 kB / 284.9 MB, free: 4.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.0118, allocations: 4 kB / 284.9 MB, free: 4.977 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.0118, allocations: 0 / 284.9 MB, free: 4.977 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.0118, allocations: 0 / 284.9 MB, free: 4.977 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000824/0.01263, allocations: 1.127 MB / 286.1 MB, free: 3.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01263, allocations: 8 kB / 286.1 MB, free: 3.742 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.468e-06/0.01263, allocations: 0 / 286.1 MB, free: 3.742 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.01264, allocations: 3.984 kB / 286.1 MB, free: 3.738 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.01266, allocations: 16 kB / 286.1 MB, free: 3.723 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.01266, allocations: 4 kB / 286.1 MB, free: 3.719 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.01266, allocations: 3.984 kB / 286.1 MB, free: 3.715 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005203/0.01318, allocations: 0.8559 MB / 287 MB, free: 2.777 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002178/0.0134, allocations: 189.4 kB / 287.1 MB, free: 2.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.368e-05/0.01344, allocations: 15.98 kB / 287.2 MB, free: 2.574 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.588e-05/0.01353, allocations: 12 kB / 287.2 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.459e-05/0.01362, allocations: 71.86 kB / 287.2 MB, free: 2.492 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.155e-05/0.01369, allocations: 109.3 kB / 287.4 MB, free: 2.387 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.00035/0.01404, allocations: 450.7 kB / 287.8 MB, free: 1.949 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01404, allocations: 0 / 287.8 MB, free: 1.949 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001881/0.01422, allocations: 56 kB / 287.8 MB, free: 1.895 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 9.259e-05/0.01432, allocations: 107.2 kB / 288 MB, free: 1.777 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004079/0.01472, allocations: 0.7437 MB / 288.7 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.01473, allocations: 0 / 288.7 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002335/0.01496, allocations: 0.5246 MB / 289.2 MB, free: 292 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.0154, allocations: 208.6 kB / 289.4 MB, free: 96 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007521/0.01615, allocations: 0.8676 MB / 290.3 MB, free: 15.17 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.198e-05/0.01622, allocations: 103.8 kB / 290.4 MB, free: 15.05 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.385e-05/0.01627, allocations: 12.95 kB / 290.4 MB, free: 15.03 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.179e-05/0.01629, allocations: 20.5 kB / 290.4 MB, free: 15.01 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01629, allocations: 0 / 290.4 MB, free: 15.01 MB / 282.7 MB Notification: Performance of Templates: time 0.007549/0.02384, allocations: 8.023 MB / 298.4 MB, free: 6.906 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.8935245689935982]