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.001819/0.001819, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.002329/0.002329, allocations: 217 kB / 24.5 MB, free: 4.133 MB / 14.72 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.48/1.48, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.1 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 0.002073/0.002073, allocations: 60.05 kB / 379 MB, free: 2.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2565, allocations: 53.41 MB / 432.4 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.003027/0.2595, allocations: 1.588 MB / 434 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.2615, allocations: 0.9043 MB / 434.9 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.041e-05/0.2616, allocations: 0 / 434.9 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.784e-05/0.2617, allocations: 15.86 kB / 434.9 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.184e-05/0.2618, allocations: 31.78 kB / 435 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.262, allocations: 55.88 kB / 435 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000243/0.2623, allocations: 155.7 kB / 435.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.2624, allocations: 21.58 kB / 435.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007236/0.2631, allocations: 0.6356 MB / 435.8 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.2632, allocations: 83.69 kB / 435.9 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.395e-05/0.2633, allocations: 12 kB / 435.9 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.707e-05/0.2633, allocations: 15.94 kB / 435.9 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.856e-05/0.2634, allocations: 75.62 kB / 436 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.2636, allocations: 127 kB / 436.1 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004704/0.264, allocations: 471.6 kB / 436.6 MB, free: 2.719 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.264, allocations: 4 kB / 436.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.264, allocations: 0 / 436.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.264, allocations: 0 / 436.6 MB, free: 2.715 MB / 334.1 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.0008852/0.2649, allocations: 0.7463 MB / 437.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.265, allocations: 12.03 kB / 437.4 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.63e-05/0.265, allocations: 44.66 kB / 437.4 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.2654, allocations: 240.7 kB / 437.6 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.2654, allocations: 4.375 kB / 437.6 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.531e-05/0.2654, allocations: 12.38 kB / 437.7 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000351/0.2658, allocations: 173.9 kB / 437.8 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.2658, allocations: 0 / 437.8 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.2658, allocations: 4 kB / 437.8 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.2658, allocations: 0 / 437.8 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/0.266, allocations: 83.95 kB / 437.9 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008054/0.2668, allocations: 483.5 kB / 438.4 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.267, allocations: 102.5 kB / 438.5 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.2672, allocations: 84.88 kB / 438.6 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.802e-06/0.2672, allocations: 0 / 438.6 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000381/0.2675, allocations: 242.6 kB / 438.8 MB, free: 348 kB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/0.2676, allocations: 0 / 438.8 MB, free: 348 kB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009794/0.2685, allocations: 0.6073 MB / 439.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.2687, allocations: 195.9 kB / 439.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007169/0.2694, allocations: 0.568 MB / 440.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.2694, allocations: 37.64 kB / 440.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.25e-05/0.2695, allocations: 113.1 kB / 440.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.176e-05/0.2695, allocations: 31.8 kB / 440.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.2697, allocations: 97.5 kB / 440.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.2698, allocations: 330.8 kB / 440.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.27, allocations: 83.95 kB / 440.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.2702, allocations: 101.6 kB / 441 MB, free: 14.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004408/0.2706, allocations: 438.1 kB / 441.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2706, allocations: 0 / 441.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000698/0.2713, allocations: 0.5019 MB / 441.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.2714, allocations: 151.2 kB / 442 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2714, allocations: 0 / 442 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.2714, allocations: 7.922 kB / 442 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.174e-05/0.2714, allocations: 7.984 kB / 442 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.758e-06/0.2714, allocations: 0 / 442 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.2716, allocations: 12.03 kB / 442.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.2717, allocations: 101.2 kB / 442.2 MB, free: 12.74 MB / 350.1 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.0003959/0.2721, allocations: 404.1 kB / 442.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.033e-05/0.2722, allocations: 47.72 kB / 442.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.2723, allocations: 71.42 kB / 442.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2723, allocations: 0 / 442.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2723, allocations: 0 / 442.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2723, allocations: 0 / 442.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.2735, allocations: 0.9465 MB / 443.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2735, allocations: 0 / 443.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-06/0.2735, allocations: 0 / 443.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.2735, allocations: 0 / 443.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.739e-05/0.2735, allocations: 19.98 kB / 443.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2735, allocations: 0 / 443.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.2735, allocations: 3.938 kB / 443.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008266/0.2743, allocations: 0.6636 MB / 444.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004116/0.2748, allocations: 225.3 kB / 444.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.348e-05/0.2748, allocations: 8 kB / 444.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.275, allocations: 15.98 kB / 444.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.2751, allocations: 55.88 kB / 444.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.2752, allocations: 105.2 kB / 444.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005202/0.2757, allocations: 422.8 kB / 445.1 MB, free: 9.625 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2757, allocations: 0 / 445.1 MB, free: 9.625 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003024/0.276, allocations: 52 kB / 445.2 MB, free: 9.574 MB / 350.1 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.0001376/0.2762, allocations: 111.2 kB / 445.3 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006138/0.2768, allocations: 476.8 kB / 445.7 MB, free: 8.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2768, allocations: 0 / 445.7 MB, free: 8.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003725/0.2772, allocations: 385 kB / 446.1 MB, free: 8.492 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008297/0.278, allocations: 188.6 kB / 446.3 MB, free: 8.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.2793, allocations: 0.812 MB / 447.1 MB, free: 7.477 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00051/0.2798, allocations: 0.8143 MB / 447.9 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/0.2798, allocations: 19.44 kB / 447.9 MB, free: 6.617 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2798, allocations: 0 / 447.9 MB, free: 6.617 MB / 350.1 MB Notification: Performance of Templates: time 0.007432/0.2873, allocations: 4.273 MB / 452.2 MB, free: 2.246 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/MUX2x1/MUX2x1.csv","/var/lib/jenkins1/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: 8.128498682985082]