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.001098/0.001098, allocations: 80.8 kB / 22.28 MB, free: 2.211 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.004374/0.004374, allocations: 164.1 kB / 25.69 MB, free: 8.457 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.9722/0.9722, allocations: 158.6 MB / 187.6 MB, free: 2.801 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.452e-06/1.452e-06, allocations: 0 / 251.6 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.57e-05, allocations: 6.25 kB / 251.6 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.008842/0.008867, allocations: 1.603 MB / 253.2 MB, free: 5.617 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007877/0.01674, allocations: 0.8818 MB / 254.1 MB, free: 4.727 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.1e-05/0.01682, allocations: 0 / 254.1 MB, free: 4.727 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.01692, allocations: 15.86 kB / 254.1 MB, free: 4.711 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.57e-05/0.01701, allocations: 27.73 kB / 254.1 MB, free: 4.684 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.01729, allocations: 63.81 kB / 254.2 MB, free: 4.621 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.01751, allocations: 155.7 kB / 254.3 MB, free: 4.469 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.482e-05/0.0176, allocations: 18.23 kB / 254.3 MB, free: 4.453 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006144/0.01822, allocations: 0.6082 MB / 254.9 MB, free: 3.844 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.01835, allocations: 71.8 kB / 255 MB, free: 3.773 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.954e-05/0.01839, allocations: 12 kB / 255 MB, free: 3.762 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.662e-05/0.01842, allocations: 8 kB / 255 MB, free: 3.754 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.523e-05/0.01849, allocations: 75.72 kB / 255.1 MB, free: 3.68 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.108e-05/0.01857, allocations: 63.67 kB / 255.2 MB, free: 3.617 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00334/0.02191, allocations: 362.7 kB / 255.5 MB, free: 3.262 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.02192, allocations: 4 kB / 255.5 MB, free: 3.258 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.02192, allocations: 0 / 255.5 MB, free: 3.258 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.02193, allocations: 0 / 255.5 MB, free: 3.258 MB / 234.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.0007824/0.02271, allocations: 0.6981 MB / 256.2 MB, free: 2.504 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.02275, allocations: 11.98 kB / 256.2 MB, free: 2.492 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.765e-05/0.02284, allocations: 48.83 kB / 256.3 MB, free: 2.445 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.02312, allocations: 228 kB / 256.5 MB, free: 2.195 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.02315, allocations: 8.375 kB / 256.5 MB, free: 2.188 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.02318, allocations: 12.31 kB / 256.5 MB, free: 2.176 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004043/0.02358, allocations: 283.2 kB / 256.8 MB, free: 1.859 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.02359, allocations: 8.188 kB / 256.8 MB, free: 1.852 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.02361, allocations: 4.375 kB / 256.8 MB, free: 1.848 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.02362, allocations: 3.938 kB / 256.8 MB, free: 1.844 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.02379, allocations: 192 kB / 257 MB, free: 1.625 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004384/0.02422, allocations: 248.1 kB / 257.2 MB, free: 1.367 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.02443, allocations: 199.1 kB / 257.4 MB, free: 1.133 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.02459, allocations: 193.4 kB / 257.6 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.0246, allocations: 0 / 257.6 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003064/0.02491, allocations: 363 kB / 258 MB, free: 0.5 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 1.783e-06/0.02491, allocations: 0 / 258 MB, free: 0.5 MB / 234.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006503/0.02556, allocations: 0.6319 MB / 258.6 MB, free: 15.77 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.955e-05/0.02565, allocations: 195.9 kB / 258.8 MB, free: 15.54 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004713/0.02612, allocations: 395.1 kB / 259.2 MB, free: 15.14 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.02615, allocations: 29.7 kB / 259.2 MB, free: 15.1 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.935e-05/0.02621, allocations: 113 kB / 259.3 MB, free: 14.99 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.387e-05/0.02626, allocations: 31.8 kB / 259.4 MB, free: 14.96 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.02638, allocations: 77.53 kB / 259.4 MB, free: 14.88 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.02649, allocations: 330.8 kB / 259.8 MB, free: 14.54 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.02664, allocations: 188.5 kB / 259.9 MB, free: 14.33 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.02679, allocations: 206.2 kB / 260.1 MB, free: 14.09 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002882/0.02708, allocations: 386.7 kB / 260.5 MB, free: 13.64 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.02708, allocations: 0 / 260.5 MB, free: 13.64 MB / 250.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004911/0.02758, allocations: 434.5 kB / 260.9 MB, free: 13.15 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.02768, allocations: 160.4 kB / 261.1 MB, free: 12.96 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.02769, allocations: 0 / 261.1 MB, free: 12.96 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.0277, allocations: 0 / 261.1 MB, free: 12.96 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.73e-05/0.02773, allocations: 8.031 kB / 261.1 MB, free: 12.96 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.02773, allocations: 0 / 261.1 MB, free: 12.96 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.02789, allocations: 15.98 kB / 261.1 MB, free: 12.94 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.638e-05/0.02797, allocations: 89.55 kB / 261.2 MB, free: 12.86 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.0003015/0.02827, allocations: 371.2 kB / 261.6 MB, free: 12.45 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.392e-05/0.02833, allocations: 43.89 kB / 261.6 MB, free: 12.41 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.529e-05/0.02842, allocations: 59.41 kB / 261.7 MB, free: 12.35 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.02843, allocations: 4 kB / 261.7 MB, free: 12.34 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.02843, allocations: 3.938 kB / 261.7 MB, free: 12.34 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.02843, allocations: 4 kB / 261.7 MB, free: 12.34 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005162/0.02895, allocations: 0.687 MB / 262.4 MB, free: 11.56 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.02895, allocations: 0 / 262.4 MB, free: 11.56 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.612e-06/0.02896, allocations: 3.938 kB / 262.4 MB, free: 11.56 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.02896, allocations: 0 / 262.4 MB, free: 11.56 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.02898, allocations: 11.98 kB / 262.4 MB, free: 11.55 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.02898, allocations: 0 / 262.4 MB, free: 11.55 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.02898, allocations: 0 / 262.4 MB, free: 11.55 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003456/0.02933, allocations: 0.5665 MB / 263 MB, free: 10.91 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001939/0.02952, allocations: 147.4 kB / 263.1 MB, free: 10.76 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.02956, allocations: 19.94 kB / 263.1 MB, free: 10.74 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.907e-05/0.02965, allocations: 15.98 kB / 263.1 MB, free: 10.72 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.912e-05/0.02973, allocations: 39.95 kB / 263.2 MB, free: 10.68 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.125e-05/0.02979, allocations: 89.42 kB / 263.3 MB, free: 10.59 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001831/0.02998, allocations: 168.6 kB / 263.4 MB, free: 10.43 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02998, allocations: 4 kB / 263.4 MB, free: 10.43 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001721/0.03015, allocations: 55.95 kB / 263.5 MB, free: 10.37 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 9.863e-05/0.03025, allocations: 88.42 kB / 263.6 MB, free: 10.28 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004253/0.03067, allocations: 0.7019 MB / 264.3 MB, free: 9.449 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.03068, allocations: 4 kB / 264.3 MB, free: 9.445 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.03088, allocations: 0.4894 MB / 264.8 MB, free: 8.859 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.03129, allocations: 188 kB / 265 MB, free: 8.684 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008203/0.03211, allocations: 0.8406 MB / 265.8 MB, free: 7.781 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.064e-05/0.03218, allocations: 111.7 kB / 265.9 MB, free: 7.652 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.379e-05/0.03221, allocations: 12.95 kB / 265.9 MB, free: 7.637 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003681/0.03258, allocations: 243.2 kB / 266.2 MB, free: 7.398 MB / 250.7 MB Notification: Performance of SimCode: time 5.81e-07/0.03258, allocations: 3.938 kB / 266.2 MB, free: 7.395 MB / 250.7 MB Notification: Performance of Templates: time 0.007351/0.03993, allocations: 7.105 MB / 273.3 MB, free: 156 kB / 250.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 -s gbode -gbm=radauIIA3 -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","",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.7915440551005304]