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.001851/0.001851, allocations: 83.33 kB / 21.99 MB, free: 5.176 MB / 14.72 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.002057/0.002057, allocations: 161.4 kB / 25.25 MB, free: 3.023 MB / 14.72 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.352/1.352, allocations: 158.6 MB / 187 MB, free: 6.246 MB / 174.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 59.92 kB / 299.4 MB, free: 6.848 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2279, allocations: 49.14 MB / 348.5 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002755/0.2306, allocations: 1.502 MB / 350 MB, free: 14 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.2327, allocations: 0.86 MB / 350.9 MB, free: 13.13 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.169e-05/0.2328, allocations: 4 kB / 350.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.626e-05/0.2329, allocations: 11.86 kB / 350.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.233, allocations: 31.78 kB / 350.9 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.2333, allocations: 51.89 kB / 351 MB, free: 13.03 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002702/0.2335, allocations: 167.7 kB / 351.1 MB, free: 12.87 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.2336, allocations: 21.38 kB / 351.2 MB, free: 12.85 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007808/0.2344, allocations: 0.6356 MB / 351.8 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.2346, allocations: 79.62 kB / 351.9 MB, free: 12.14 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.834e-05/0.2347, allocations: 12 kB / 351.9 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.853e-05/0.2347, allocations: 12 kB / 351.9 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.2348, allocations: 75.69 kB / 352 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.2349, allocations: 99.22 kB / 352.1 MB, free: 11.94 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004864/0.2354, allocations: 460.5 kB / 352.5 MB, free: 11.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2354, allocations: 4 kB / 352.5 MB, free: 11.49 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2354, allocations: 0 / 352.5 MB, free: 11.49 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.2354, allocations: 7.938 kB / 352.5 MB, free: 11.48 MB / 318.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.0008902/0.2363, allocations: 0.7502 MB / 353.3 MB, free: 10.67 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.2364, allocations: 15.98 kB / 353.3 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.119e-05/0.2364, allocations: 40.7 kB / 353.3 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003356/0.2368, allocations: 236.7 kB / 353.6 MB, free: 10.36 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.2368, allocations: 12.38 kB / 353.6 MB, free: 10.35 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.2368, allocations: 8.375 kB / 353.6 MB, free: 10.34 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000456/0.2373, allocations: 326.2 kB / 353.9 MB, free: 9.984 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.2373, allocations: 0 / 353.9 MB, free: 9.984 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/0.2373, allocations: 4 kB / 353.9 MB, free: 9.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.2373, allocations: 3.984 kB / 353.9 MB, free: 9.977 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002861/0.2376, allocations: 236.5 kB / 354.1 MB, free: 9.715 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007931/0.2384, allocations: 436.1 kB / 354.6 MB, free: 9.258 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003283/0.2388, allocations: 247 kB / 354.8 MB, free: 8.977 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002721/0.239, allocations: 233.4 kB / 355 MB, free: 8.715 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.239, allocations: 0 / 355 MB, free: 8.715 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005427/0.2396, allocations: 391.1 kB / 355.4 MB, free: 8.277 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.2396, allocations: 0 / 355.4 MB, free: 8.277 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.001247/0.2408, allocations: 0.9167 MB / 356.3 MB, free: 7.262 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.241, allocations: 199.9 kB / 356.5 MB, free: 7.023 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007662/0.2417, allocations: 0.5601 MB / 357.1 MB, free: 6.449 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.312e-05/0.2418, allocations: 33.7 kB / 357.1 MB, free: 6.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.2419, allocations: 117.2 kB / 357.2 MB, free: 6.293 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/0.2419, allocations: 35.72 kB / 357.3 MB, free: 6.258 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.2421, allocations: 101.5 kB / 357.4 MB, free: 6.152 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.2422, allocations: 330.8 kB / 357.7 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/0.2425, allocations: 236.5 kB / 357.9 MB, free: 5.559 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/0.2428, allocations: 246.2 kB / 358.2 MB, free: 5.281 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004955/0.2433, allocations: 442.8 kB / 358.6 MB, free: 4.781 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2433, allocations: 8 kB / 358.6 MB, free: 4.773 MB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0008487/0.2441, allocations: 0.6547 MB / 359.3 MB, free: 4.051 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.2442, allocations: 152.5 kB / 359.4 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2443, allocations: 0 / 359.4 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.2443, allocations: 0 / 359.4 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.901e-05/0.2443, allocations: 4 kB / 359.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.2443, allocations: 0 / 359.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.2444, allocations: 19.98 kB / 359.4 MB, free: 3.848 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.2446, allocations: 97.42 kB / 359.5 MB, free: 3.754 MB / 318.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.000423/0.245, allocations: 404.2 kB / 359.9 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.885e-05/0.2451, allocations: 47.72 kB / 360 MB, free: 3.27 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.2452, allocations: 75.39 kB / 360 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2452, allocations: 0 / 360 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2452, allocations: 0 / 360 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.2452, allocations: 64 / 360 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.2465, allocations: 1.049 MB / 361.1 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.2465, allocations: 0 / 361.1 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.953e-06/0.2465, allocations: 7.938 kB / 361.1 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.2465, allocations: 0 / 361.1 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-05/0.2466, allocations: 23.98 kB / 361.1 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2466, allocations: 4 kB / 361.1 MB, free: 2.016 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.2466, allocations: 3.938 kB / 361.1 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009873/0.2476, allocations: 0.8165 MB / 361.9 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000424/0.248, allocations: 217.3 kB / 362.2 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.778e-05/0.248, allocations: 12 kB / 362.2 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.2482, allocations: 11.98 kB / 362.2 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/0.2484, allocations: 55.94 kB / 362.2 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/0.2485, allocations: 109.4 kB / 362.3 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000545/0.249, allocations: 422.8 kB / 362.8 MB, free: 312 kB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.249, allocations: 0 / 362.8 MB, free: 312 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003247/0.2494, allocations: 56 kB / 362.8 MB, free: 256 kB / 318.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.0001638/0.2495, allocations: 115.2 kB / 362.9 MB, free: 132 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008517/0.2504, allocations: 0.7674 MB / 363.7 MB, free: 15.24 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2504, allocations: 0 / 363.7 MB, free: 15.24 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004897/0.2509, allocations: 0.521 MB / 364.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008842/0.2517, allocations: 190 kB / 364.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.2532, allocations: 0.9161 MB / 365.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.2535, allocations: 207.6 kB / 365.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.922e-05/0.2535, allocations: 16.95 kB / 365.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.2535, allocations: 12.5 kB / 365.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2535, allocations: 0 / 365.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of Templates: time 0.01289/0.2664, allocations: 8.059 MB / 373.6 MB, free: 4.965 MB / 334.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/MUX2x1/MUX2x1.csv","/var/lib/jenkins1/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.435810997965746]