Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008791/0.0008791, allocations: 83.62 kB / 22.18 MB, free: 2.379 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.0009387/0.0009387, allocations: 157.8 kB / 25.45 MB, free: 8.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8464/0.8464, allocations: 158.6 MB / 187.2 MB, free: 3.008 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 299.7 MB, free: 6.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.402e-05/3.54e-05, allocations: 2.281 kB / 299.7 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.00181/0.001845, allocations: 1.505 MB / 301.2 MB, free: 5.406 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.003474, allocations: 0.8519 MB / 302 MB, free: 4.547 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.25e-05/0.003546, allocations: 8 kB / 302.1 MB, free: 4.539 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.521e-05/0.003641, allocations: 11.86 kB / 302.1 MB, free: 4.527 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.74e-05/0.003729, allocations: 27.8 kB / 302.1 MB, free: 4.5 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.004012, allocations: 63.73 kB / 302.2 MB, free: 4.438 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.004213, allocations: 155.6 kB / 302.3 MB, free: 4.285 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.004316, allocations: 17.59 kB / 302.3 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005214/0.004837, allocations: 0.659 MB / 303 MB, free: 3.609 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.004998, allocations: 79.73 kB / 303.1 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.92e-05/0.005048, allocations: 12 kB / 303.1 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.251e-05/0.00508, allocations: 12 kB / 303.1 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.994e-05/0.00517, allocations: 79.66 kB / 303.2 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.085e-05/0.005251, allocations: 59.78 kB / 303.2 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003278/0.005579, allocations: 458.5 kB / 303.7 MB, free: 2.922 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.005582, allocations: 3.938 kB / 303.7 MB, free: 2.918 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.005583, allocations: 0 / 303.7 MB, free: 2.918 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.005589, allocations: 0 / 303.7 MB, free: 2.918 MB / 282.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.0006579/0.006247, allocations: 0.7502 MB / 304.4 MB, free: 2.105 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.00629, allocations: 11.98 kB / 304.4 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.166e-05/0.006362, allocations: 44.66 kB / 304.5 MB, free: 2.051 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.006605, allocations: 251.9 kB / 304.7 MB, free: 1.777 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.006624, allocations: 12.31 kB / 304.7 MB, free: 1.766 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.006648, allocations: 8.375 kB / 304.7 MB, free: 1.758 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003298/0.006978, allocations: 322.3 kB / 305.1 MB, free: 1.41 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.006986, allocations: 192 / 305.1 MB, free: 1.41 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.007005, allocations: 4.375 kB / 305.1 MB, free: 1.406 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.007012, allocations: 7.875 kB / 305.1 MB, free: 1.398 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.007172, allocations: 232.5 kB / 305.3 MB, free: 1.141 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005918/0.007764, allocations: 424.2 kB / 305.7 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.007998, allocations: 251 kB / 306 MB, free: 420 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.008149, allocations: 237.3 kB / 306.2 MB, free: 148 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.00816, allocations: 3.984 kB / 306.2 MB, free: 144 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003793/0.008539, allocations: 395.1 kB / 306.6 MB, free: 15.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.008541, allocations: 0 / 306.6 MB, free: 15.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.000745/0.009286, allocations: 0.9205 MB / 307.5 MB, free: 14.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.642e-05/0.009362, allocations: 195.9 kB / 307.7 MB, free: 14.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000479/0.009841, allocations: 0.5563 MB / 308.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.009866, allocations: 37.64 kB / 308.3 MB, free: 13.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.601e-05/0.009932, allocations: 121.1 kB / 308.4 MB, free: 13.72 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.009962, allocations: 31.84 kB / 308.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.501e-05/0.01006, allocations: 101.4 kB / 308.5 MB, free: 13.58 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.536e-05/0.01014, allocations: 326.8 kB / 308.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.01028, allocations: 232.5 kB / 309.1 MB, free: 13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.01042, allocations: 246.2 kB / 309.3 MB, free: 12.72 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002744/0.0107, allocations: 446.7 kB / 309.8 MB, free: 12.21 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.0107, allocations: 0 / 309.8 MB, free: 12.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000471/0.01117, allocations: 0.6663 MB / 310.4 MB, free: 11.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.945e-05/0.01124, allocations: 152.5 kB / 310.6 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.01124, allocations: 4.031 kB / 310.6 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.01126, allocations: 3.984 kB / 310.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.946e-05/0.01128, allocations: 0 / 310.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.01128, allocations: 4 kB / 310.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.01139, allocations: 8 kB / 310.6 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.543e-05/0.01146, allocations: 109.4 kB / 310.7 MB, free: 11.17 MB / 298.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.0002681/0.01173, allocations: 400.3 kB / 311.1 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.01177, allocations: 51.66 kB / 311.1 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.3e-05/0.01184, allocations: 67.41 kB / 311.2 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.01185, allocations: 4 kB / 311.2 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.01185, allocations: 4 kB / 311.2 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.01186, allocations: 3.984 kB / 311.2 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007369/0.01259, allocations: 1.038 MB / 312.3 MB, free: 9.473 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01259, allocations: 0 / 312.3 MB, free: 9.473 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.08e-06/0.0126, allocations: 0 / 312.3 MB, free: 9.473 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.0126, allocations: 0 / 312.3 MB, free: 9.473 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.01263, allocations: 23.98 kB / 312.3 MB, free: 9.449 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01263, allocations: 0 / 312.3 MB, free: 9.449 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01263, allocations: 4 kB / 312.3 MB, free: 9.445 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005213/0.01315, allocations: 0.8207 MB / 313.1 MB, free: 8.547 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002477/0.0134, allocations: 217.3 kB / 313.3 MB, free: 8.332 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.293e-05/0.01345, allocations: 16.17 kB / 313.3 MB, free: 8.316 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.01358, allocations: 20 kB / 313.4 MB, free: 8.297 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.01371, allocations: 51.94 kB / 313.4 MB, free: 8.246 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.952e-05/0.01377, allocations: 105.4 kB / 313.5 MB, free: 8.145 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000315/0.01409, allocations: 418.8 kB / 313.9 MB, free: 7.742 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01409, allocations: 0 / 313.9 MB, free: 7.742 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002468/0.01434, allocations: 52 kB / 314 MB, free: 7.691 MB / 298.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.0001176/0.01445, allocations: 111.2 kB / 314.1 MB, free: 7.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004832/0.01494, allocations: 0.7713 MB / 314.8 MB, free: 6.676 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.01494, allocations: 0 / 314.8 MB, free: 6.676 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002684/0.01521, allocations: 0.5249 MB / 315.4 MB, free: 6.059 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004917/0.0157, allocations: 190.7 kB / 315.6 MB, free: 5.875 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008836/0.01658, allocations: 0.9485 MB / 316.5 MB, free: 4.863 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/0.01676, allocations: 227.6 kB / 316.7 MB, free: 4.617 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.01678, allocations: 12.5 kB / 316.7 MB, free: 4.605 MB / 298.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01678, allocations: 0 / 316.7 MB, free: 4.605 MB / 298.7 MB Notification: Performance of Templates: time 0.004679/0.02146, allocations: 4.291 MB / 321 MB, free: 204 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/MUX2x1/MUX2x1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 5.087855388410389]