Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002165/0.002165, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.018/1.018, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.925e-05, allocations: 2.312 kB / 273 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002099/0.002128, allocations: 1.576 MB / 274.5 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.003652, allocations: 0.8691 MB / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.127e-05/0.003714, allocations: 4 kB / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001/0.003814, allocations: 15.8 kB / 275.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.492e-05/0.003899, allocations: 27.84 kB / 275.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.004184, allocations: 51.88 kB / 275.5 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.004374, allocations: 155.6 kB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.004484, allocations: 29.44 kB / 275.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005818/0.005065, allocations: 0.6591 MB / 276.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.005197, allocations: 71.75 kB / 276.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.349e-05/0.005241, allocations: 12 kB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.032e-05/0.005271, allocations: 8 kB / 276.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.13e-05/0.005352, allocations: 79.7 kB / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.424e-05/0.005436, allocations: 67.66 kB / 276.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003254/0.005762, allocations: 358.7 kB / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.005765, allocations: 0 / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.005766, allocations: 0 / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.005772, allocations: 0 / 276.9 MB, free: 13.54 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.0008445/0.006616, allocations: 0.8774 MB / 277.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.006665, allocations: 12.03 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.006774, allocations: 64.59 kB / 277.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.007051, allocations: 242.7 kB / 278.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.007081, allocations: 4.375 kB / 278.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.007111, allocations: 12.38 kB / 278.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004118/0.007523, allocations: 318.6 kB / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.007534, allocations: 192 / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.007556, allocations: 4.375 kB / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.007568, allocations: 3.938 kB / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.007719, allocations: 220.5 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00069/0.008409, allocations: 0.5306 MB / 279.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.008646, allocations: 235.5 kB / 279.4 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.008809, allocations: 232.1 kB / 279.7 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.255e-06/0.008818, allocations: 4 kB / 279.7 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002921/0.00911, allocations: 392.7 kB / 280.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 2.134e-06/0.009112, allocations: 0 / 280.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.000829/0.009941, allocations: 0.8817 MB / 280.9 MB, free: 9.113 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.77e-05/0.01003, allocations: 199.9 kB / 281.1 MB, free: 8.875 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006301/0.01066, allocations: 0.6662 MB / 281.8 MB, free: 8.195 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.01068, allocations: 29.7 kB / 281.8 MB, free: 8.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.61e-05/0.01076, allocations: 171.8 kB / 282 MB, free: 7.984 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.01079, allocations: 31.92 kB / 282 MB, free: 7.953 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.603e-05/0.01089, allocations: 107.2 kB / 282.1 MB, free: 7.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.01101, allocations: 0.4962 MB / 282.6 MB, free: 7.332 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.01115, allocations: 216.5 kB / 282.8 MB, free: 7.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.01129, allocations: 235.9 kB / 283.1 MB, free: 6.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.01153, allocations: 428.3 kB / 283.5 MB, free: 6.332 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.01154, allocations: 0 / 283.5 MB, free: 6.332 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004725/0.01201, allocations: 0.6313 MB / 284.1 MB, free: 5.633 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.294e-05/0.01209, allocations: 156.4 kB / 284.3 MB, free: 5.449 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.0121, allocations: 0 / 284.3 MB, free: 5.449 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.01212, allocations: 4 kB / 284.3 MB, free: 5.445 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.435e-05/0.01214, allocations: 3.984 kB / 284.3 MB, free: 5.441 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.01215, allocations: 0 / 284.3 MB, free: 5.441 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.01226, allocations: 23.92 kB / 284.3 MB, free: 5.418 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.074e-05/0.01235, allocations: 101.4 kB / 284.4 MB, free: 5.32 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.0002978/0.01265, allocations: 419 kB / 284.8 MB, free: 4.871 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.597e-05/0.01272, allocations: 63.64 kB / 284.9 MB, free: 4.809 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.817e-05/0.01282, allocations: 55.42 kB / 284.9 MB, free: 4.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.01282, allocations: 0 / 284.9 MB, free: 4.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.01283, allocations: 3.938 kB / 284.9 MB, free: 4.746 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.01283, allocations: 0 / 284.9 MB, free: 4.746 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009353/0.01377, allocations: 1.123 MB / 286.1 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01377, allocations: 0 / 286.1 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.811e-06/0.01377, allocations: 0 / 286.1 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.01378, allocations: 7.984 kB / 286.1 MB, free: 3.512 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.01381, allocations: 20 kB / 286.1 MB, free: 3.492 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.01381, allocations: 3.984 kB / 286.1 MB, free: 3.488 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.01381, allocations: 0 / 286.1 MB, free: 3.488 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005501/0.01436, allocations: 0.8595 MB / 286.9 MB, free: 2.551 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002389/0.0146, allocations: 193.4 kB / 287.1 MB, free: 2.359 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.322e-05/0.01464, allocations: 15.98 kB / 287.1 MB, free: 2.344 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.733e-05/0.01473, allocations: 12 kB / 287.2 MB, free: 2.332 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.01487, allocations: 67.91 kB / 287.2 MB, free: 2.266 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.729e-05/0.01494, allocations: 105.5 kB / 287.3 MB, free: 2.164 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003957/0.01533, allocations: 458.7 kB / 287.8 MB, free: 1.723 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01533, allocations: 0 / 287.8 MB, free: 1.723 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002138/0.01555, allocations: 48 kB / 287.8 MB, free: 1.676 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 0.0001162/0.01566, allocations: 111.2 kB / 287.9 MB, free: 1.555 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007089/0.01637, allocations: 0.7551 MB / 288.7 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.01637, allocations: 0 / 288.7 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002543/0.01663, allocations: 0.5167 MB / 289.2 MB, free: 64 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005076/0.01713, allocations: 216.5 kB / 289.4 MB, free: 15.87 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.01821, allocations: 0.8714 MB / 290.3 MB, free: 14.94 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.847e-05/0.01828, allocations: 103.7 kB / 290.4 MB, free: 14.82 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.439e-05/0.01835, allocations: 16.95 kB / 290.4 MB, free: 14.8 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.692e-05/0.01839, allocations: 16.5 kB / 290.4 MB, free: 14.79 MB / 282.7 MB Notification: Performance of SimCode: time 1.132e-06/0.01839, allocations: 7.875 kB / 290.4 MB, free: 14.78 MB / 282.7 MB Notification: Performance of Templates: time 0.008993/0.02738, allocations: 8.027 MB / 298.5 MB, free: 6.688 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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: 3.2588952579535544]