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.001983/0.001983, allocations: 103.5 kB / 21.74 MB, free: 2.684 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.001957/0.001957, allocations: 164.2 kB / 25.03 MB, free: 7.898 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 1.399/1.399, allocations: 158.6 MB / 186.8 MB, free: 2.883 MB / 170.7 MB " [Timeout remaining time 178] 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.372e-06/1.372e-06, allocations: 0 / 250.4 MB, free: 3.934 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.018e-05/3.155e-05, allocations: 2.312 kB / 250.4 MB, free: 3.93 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.003119/0.003151, allocations: 1.533 MB / 251.9 MB, free: 2.383 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002324/0.005474, allocations: 0.8663 MB / 252.8 MB, free: 1.508 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.747e-05/0.005532, allocations: 0 / 252.8 MB, free: 1.508 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.005649, allocations: 11.86 kB / 252.8 MB, free: 1.496 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.005755, allocations: 31.73 kB / 252.8 MB, free: 1.465 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.006067, allocations: 59.8 kB / 252.9 MB, free: 1.406 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002828/0.006349, allocations: 159.6 kB / 253 MB, free: 1.25 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.006473, allocations: 17.58 kB / 253 MB, free: 1.234 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001195/0.007667, allocations: 0.6629 MB / 253.7 MB, free: 0.5703 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.007851, allocations: 67.81 kB / 253.8 MB, free: 0.5039 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 8.1e-05/0.007932, allocations: 23.88 kB / 253.8 MB, free: 492 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.319e-05/0.007985, allocations: 12 kB / 253.8 MB, free: 480 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.008109, allocations: 79.69 kB / 253.9 MB, free: 400 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.008236, allocations: 55.8 kB / 253.9 MB, free: 344 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006433/0.008879, allocations: 462.4 kB / 254.4 MB, free: 15.88 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.008885, allocations: 0 / 254.4 MB, free: 15.88 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.008887, allocations: 3.938 kB / 254.4 MB, free: 15.88 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.008894, allocations: 0 / 254.4 MB, free: 15.88 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.001303/0.0102, allocations: 0.9044 MB / 255.3 MB, free: 14.91 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.2e-05/0.01026, allocations: 11.98 kB / 255.3 MB, free: 14.89 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.01038, allocations: 52.66 kB / 255.4 MB, free: 14.84 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003941/0.01078, allocations: 242.8 kB / 255.6 MB, free: 14.58 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.0108, allocations: 8.375 kB / 255.6 MB, free: 14.57 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.01084, allocations: 12.31 kB / 255.6 MB, free: 14.56 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005328/0.01137, allocations: 322.6 kB / 255.9 MB, free: 14.21 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.01138, allocations: 192 / 255.9 MB, free: 14.21 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.01141, allocations: 8.375 kB / 255.9 MB, free: 14.2 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-06/0.01142, allocations: 7.938 kB / 255.9 MB, free: 14.19 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003066/0.01173, allocations: 228.5 kB / 256.2 MB, free: 13.94 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.01293, allocations: 0.593 MB / 256.8 MB, free: 13.31 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004079/0.01334, allocations: 267.5 kB / 257 MB, free: 13 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003228/0.01366, allocations: 252.1 kB / 257.3 MB, free: 12.72 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.01368, allocations: 0 / 257.3 MB, free: 12.72 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005727/0.01425, allocations: 412.8 kB / 257.7 MB, free: 12.26 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.01425, allocations: 0 / 257.7 MB, free: 12.26 MB / 250.7 MB Notification: Performance of matching and sorting (n=14): time 0.001522/0.01578, allocations: 0.9362 MB / 258.6 MB, free: 11.23 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001633/0.01594, allocations: 191.9 kB / 258.8 MB, free: 11 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.0171, allocations: 0.7443 MB / 259.5 MB, free: 10.23 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.328e-05/0.01714, allocations: 37.8 kB / 259.6 MB, free: 10.19 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.01728, allocations: 171.8 kB / 259.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.98e-05/0.01734, allocations: 35.81 kB / 259.8 MB, free: 9.984 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/0.01752, allocations: 111.1 kB / 259.9 MB, free: 9.867 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0005848/0.0181, allocations: 0.5079 MB / 260.4 MB, free: 9.348 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002922/0.0184, allocations: 228.5 kB / 260.6 MB, free: 9.094 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003251/0.01872, allocations: 260 kB / 260.9 MB, free: 8.801 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005482/0.01927, allocations: 466.3 kB / 261.3 MB, free: 8.277 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.01927, allocations: 0 / 261.3 MB, free: 8.277 MB / 250.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0009941/0.02027, allocations: 0.6664 MB / 262 MB, free: 7.543 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001529/0.02042, allocations: 156.5 kB / 262.2 MB, free: 7.359 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.02042, allocations: 4.109 kB / 262.2 MB, free: 7.355 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.02045, allocations: 4 kB / 262.2 MB, free: 7.352 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.656e-05/0.02047, allocations: 0 / 262.2 MB, free: 7.352 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.02048, allocations: 4.047 kB / 262.2 MB, free: 7.348 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.02067, allocations: 19.98 kB / 262.2 MB, free: 7.328 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/0.02081, allocations: 97.42 kB / 262.3 MB, free: 7.234 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.0005708/0.02138, allocations: 418.9 kB / 262.7 MB, free: 6.781 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.0215, allocations: 67.64 kB / 262.8 MB, free: 6.715 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.02161, allocations: 55.42 kB / 262.8 MB, free: 6.66 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.02161, allocations: 0 / 262.8 MB, free: 6.66 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.02161, allocations: 8 kB / 262.8 MB, free: 6.652 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.02162, allocations: 0 / 262.8 MB, free: 6.652 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.02332, allocations: 1.217 MB / 264 MB, free: 5.332 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.02332, allocations: 0 / 264 MB, free: 5.332 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.182e-06/0.02333, allocations: 0 / 264 MB, free: 5.332 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.02333, allocations: 4 kB / 264 MB, free: 5.328 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.586e-05/0.02338, allocations: 19.98 kB / 264.1 MB, free: 5.309 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.02338, allocations: 0 / 264.1 MB, free: 5.309 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.02338, allocations: 3.938 kB / 264.1 MB, free: 5.305 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.02456, allocations: 0.905 MB / 265 MB, free: 4.32 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004618/0.02503, allocations: 197.3 kB / 265.2 MB, free: 4.125 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.643e-05/0.02509, allocations: 12 kB / 265.2 MB, free: 4.113 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.02524, allocations: 16 kB / 265.2 MB, free: 4.098 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002113/0.02545, allocations: 71.91 kB / 265.3 MB, free: 4.027 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000139/0.02559, allocations: 105.4 kB / 265.4 MB, free: 3.922 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0007344/0.02633, allocations: 482.7 kB / 265.8 MB, free: 3.453 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02633, allocations: 0 / 265.8 MB, free: 3.453 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003393/0.02666, allocations: 48 kB / 265.9 MB, free: 3.406 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.0001978/0.02686, allocations: 115.4 kB / 266 MB, free: 3.281 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.02789, allocations: 0.814 MB / 266.8 MB, free: 2.34 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.0279, allocations: 0 / 266.8 MB, free: 2.34 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008926/0.02879, allocations: 0.5597 MB / 267.4 MB, free: 1.684 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009722/0.02976, allocations: 209.6 kB / 267.6 MB, free: 1.488 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.03143, allocations: 0.8941 MB / 268.5 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.03173, allocations: 203.6 kB / 268.7 MB, free: 324 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.000105/0.03184, allocations: 12.95 kB / 268.7 MB, free: 308 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.706e-05/0.03188, allocations: 20.5 kB / 268.7 MB, free: 288 kB / 250.7 MB Notification: Performance of SimCode: time 2.023e-06/0.03189, allocations: 0 / 268.7 MB, free: 288 kB / 250.7 MB Notification: Performance of Templates: time 0.01488/0.04676, allocations: 8.004 MB / 276.7 MB, free: 8.121 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 240] 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: 4.462279997998849]