Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 117 kB / 18.41 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002223/0.002223, allocations: 190.9 kB / 21.35 MB, free: 1.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 222.9 MB / 247.1 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Digital.Examples.MUX2x1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 51.91 kB / 358.7 MB, free: 8.398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09712/0.09868, allocations: 49.44 MB / 408.1 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002821/0.1015, allocations: 1.542 MB / 409.7 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.1037, allocations: 0.8537 MB / 410.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.544e-05/0.1037, allocations: 7.938 kB / 410.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.1039, allocations: 7.922 kB / 410.5 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.104, allocations: 35.78 kB / 410.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000293/0.1043, allocations: 51.89 kB / 410.6 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002636/0.1046, allocations: 171.6 kB / 410.8 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.1047, allocations: 33.38 kB / 410.8 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000763/0.1055, allocations: 0.62 MB / 411.4 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.1057, allocations: 79.64 kB / 411.5 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.9e-05/0.1057, allocations: 12 kB / 411.5 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.736e-05/0.1058, allocations: 15.94 kB / 411.5 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.1059, allocations: 75.69 kB / 411.6 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.1061, allocations: 139 kB / 411.7 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005177/0.1066, allocations: 458 kB / 412.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1066, allocations: 0 / 412.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1066, allocations: 4 kB / 412.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.1066, allocations: 0 / 412.2 MB, free: 2.805 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.0009808/0.1076, allocations: 0.8294 MB / 413 MB, free: 1.895 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1077, allocations: 8.031 kB / 413 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.879e-05/0.1078, allocations: 44.66 kB / 413.1 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/0.1081, allocations: 302.5 kB / 413.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.1081, allocations: 8.375 kB / 413.4 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.1082, allocations: 12.31 kB / 413.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003693/0.1086, allocations: 173.9 kB / 413.6 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.1086, allocations: 4 kB / 413.6 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.1086, allocations: 4 kB / 413.6 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1086, allocations: 4 kB / 413.6 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001852/0.1088, allocations: 79.95 kB / 413.6 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007654/0.1096, allocations: 0.4965 MB / 414.1 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.1098, allocations: 122.5 kB / 414.3 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.11, allocations: 116.9 kB / 414.4 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.1101, allocations: 0 / 414.4 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004337/0.1105, allocations: 242.6 kB / 414.6 MB, free: 172 kB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.1105, allocations: 4 kB / 414.6 MB, free: 168 kB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.001072/0.1116, allocations: 0.6111 MB / 415.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/0.1117, allocations: 195.9 kB / 415.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007169/0.1125, allocations: 0.564 MB / 416 MB, free: 14.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.1125, allocations: 33.7 kB / 416 MB, free: 14.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.78e-05/0.1126, allocations: 117.1 kB / 416.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.452e-05/0.1127, allocations: 39.97 kB / 416.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.1128, allocations: 101.5 kB / 416.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.113, allocations: 330.8 kB / 416.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.1131, allocations: 79.95 kB / 416.7 MB, free: 13.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.1133, allocations: 97.67 kB / 416.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004617/0.1138, allocations: 440 kB / 417.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1138, allocations: 0 / 417.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007413/0.1146, allocations: 0.5042 MB / 417.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.1147, allocations: 152.5 kB / 417.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1147, allocations: 0 / 417.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.1147, allocations: 3.938 kB / 417.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.703e-05/0.1148, allocations: 7.922 kB / 417.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.1148, allocations: 4 kB / 417.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.1149, allocations: 15.97 kB / 417.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.1151, allocations: 101.2 kB / 418 MB, free: 12.54 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.0004421/0.1155, allocations: 404 kB / 418.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.976e-05/0.1156, allocations: 47.7 kB / 418.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.1157, allocations: 71.47 kB / 418.5 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1157, allocations: 0 / 418.5 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.1157, allocations: 4 kB / 418.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1157, allocations: 0 / 418.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.117, allocations: 0.9634 MB / 419.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.117, allocations: 128 / 419.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.729e-06/0.117, allocations: 4 kB / 419.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.117, allocations: 0 / 419.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.103e-05/0.1171, allocations: 23.98 kB / 419.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1171, allocations: 0 / 419.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.1171, allocations: 3.938 kB / 419.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008626/0.118, allocations: 0.6671 MB / 420.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003399/0.1183, allocations: 256.6 kB / 420.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.321e-05/0.1184, allocations: 12 kB / 420.4 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.1185, allocations: 15.98 kB / 420.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.1187, allocations: 55.88 kB / 420.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.1188, allocations: 101.2 kB / 420.6 MB, free: 9.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005326/0.1194, allocations: 422.8 kB / 421 MB, free: 9.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1194, allocations: 4 kB / 421 MB, free: 9.336 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003098/0.1197, allocations: 48 kB / 421.1 MB, free: 9.289 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.0001628/0.1199, allocations: 119.1 kB / 421.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000693/0.1206, allocations: 0.5321 MB / 421.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1206, allocations: 0 / 421.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004632/0.1211, allocations: 468.9 kB / 422.2 MB, free: 8.051 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008875/0.1219, allocations: 183.5 kB / 422.3 MB, free: 7.883 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.1232, allocations: 0.808 MB / 423.1 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005205/0.1238, allocations: 0.8219 MB / 424 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.438e-05/0.1238, allocations: 11.44 kB / 424 MB, free: 6.18 MB / 350.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1238, allocations: 0 / 424 MB, free: 6.18 MB / 350.1 MB Notification: Performance of Templates: time 0.00703/0.1308, allocations: 4.314 MB / 428.3 MB, free: 1.777 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/MUX2x1/MUX2x1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.15624002495315]