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.001552/0.001552, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 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.001758/0.001758, allocations: 200.8 kB / 25.23 MB, free: 3.539 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.432/1.432, allocations: 207.6 MB / 236 MB, free: 9.98 MB / 190.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.001788/0.001788, allocations: 59.92 kB / 348.4 MB, free: 9.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.248, allocations: 49.16 MB / 397.6 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002461/0.2504, allocations: 1.566 MB / 399.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.2522, allocations: 0.924 MB / 400.1 MB, free: 7.797 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.944e-05/0.2522, allocations: 1.188 kB / 400.1 MB, free: 7.797 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.786e-05/0.2523, allocations: 12.62 kB / 400.1 MB, free: 7.789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.519e-05/0.2524, allocations: 29.66 kB / 400.1 MB, free: 7.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.2526, allocations: 55.33 kB / 400.2 MB, free: 7.738 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.2529, allocations: 157.3 kB / 400.3 MB, free: 7.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.253, allocations: 19.39 kB / 400.4 MB, free: 7.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007685/0.2537, allocations: 0.6362 MB / 401 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.2539, allocations: 83.41 kB / 401.1 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.614e-05/0.2539, allocations: 11.5 kB / 401.1 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.648e-05/0.254, allocations: 11.12 kB / 401.1 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.853e-05/0.2541, allocations: 76.53 kB / 401.2 MB, free: 7.535 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.2542, allocations: 137.1 kB / 401.3 MB, free: 7.434 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004974/0.2547, allocations: 461.8 kB / 401.8 MB, free: 7.297 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2547, allocations: 0 / 401.8 MB, free: 7.297 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2547, allocations: 0 / 401.8 MB, free: 7.297 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.2547, allocations: 0 / 401.8 MB, free: 7.297 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.0007016/0.2554, allocations: 0.7525 MB / 402.5 MB, free: 6.648 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.2555, allocations: 14.08 kB / 402.5 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.215e-05/0.2555, allocations: 41.75 kB / 402.6 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.2558, allocations: 241.2 kB / 402.8 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.2558, allocations: 10 kB / 402.8 MB, free: 6.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.2559, allocations: 12.25 kB / 402.8 MB, free: 6.406 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000333/0.2562, allocations: 172.3 kB / 403 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.2562, allocations: 0 / 403 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.2562, allocations: 11.45 kB / 403 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.2562, allocations: 1.094 kB / 403 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.2564, allocations: 90.95 kB / 403.1 MB, free: 6.309 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007144/0.2571, allocations: 477.2 kB / 403.6 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.2573, allocations: 104.9 kB / 403.7 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.2575, allocations: 85.33 kB / 403.7 MB, free: 5.895 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.2575, allocations: 1.281 kB / 403.7 MB, free: 5.895 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003729/0.2578, allocations: 239.2 kB / 404 MB, free: 5.758 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.2578, allocations: 0 / 404 MB, free: 5.758 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009072/0.2587, allocations: 0.6069 MB / 404.6 MB, free: 5.461 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/0.2588, allocations: 202.7 kB / 404.8 MB, free: 5.23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006438/0.2595, allocations: 0.5636 MB / 405.3 MB, free: 4.926 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.2595, allocations: 30.58 kB / 405.4 MB, free: 4.895 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.464e-05/0.2595, allocations: 117.3 kB / 405.5 MB, free: 4.789 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.2596, allocations: 29.77 kB / 405.5 MB, free: 4.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.2597, allocations: 99.89 kB / 405.6 MB, free: 4.719 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.312e-05/0.2598, allocations: 333.4 kB / 405.9 MB, free: 4.395 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.2599, allocations: 85.09 kB / 406 MB, free: 4.371 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.2601, allocations: 96.2 kB / 406.1 MB, free: 4.332 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.2604, allocations: 435.7 kB / 406.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2604, allocations: 0 / 406.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005937/0.261, allocations: 0.5011 MB / 407 MB, free: 3.676 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.194e-05/0.261, allocations: 149.3 kB / 407.2 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.261, allocations: 2.031 kB / 407.2 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.261, allocations: 0 / 407.2 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.14e-05/0.2611, allocations: 9.969 kB / 407.2 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.2611, allocations: 1.375 kB / 407.2 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.2612, allocations: 12.62 kB / 407.2 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.746e-05/0.2613, allocations: 95.61 kB / 407.3 MB, free: 3.504 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.0002918/0.2616, allocations: 399.9 kB / 407.7 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.686e-05/0.2617, allocations: 47.09 kB / 407.7 MB, free: 3.145 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.2618, allocations: 67.3 kB / 407.8 MB, free: 3.109 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2618, allocations: 2.125 kB / 407.8 MB, free: 3.109 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2618, allocations: 4 kB / 407.8 MB, free: 3.105 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2618, allocations: 1.375 kB / 407.8 MB, free: 3.105 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.2628, allocations: 0.9461 MB / 408.8 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2628, allocations: 0 / 408.8 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-06/0.2628, allocations: 3.156 kB / 408.8 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2628, allocations: 0 / 408.8 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.806e-05/0.2628, allocations: 26.77 kB / 408.8 MB, free: 2.488 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.2628, allocations: 4 kB / 408.8 MB, free: 2.484 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.2628, allocations: 5.906 kB / 408.8 MB, free: 2.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006775/0.2635, allocations: 0.6588 MB / 409.5 MB, free: 2.086 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003768/0.2639, allocations: 223.8 kB / 409.7 MB, free: 1.961 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.517e-05/0.264, allocations: 10.31 kB / 409.7 MB, free: 1.957 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.2641, allocations: 13.36 kB / 409.7 MB, free: 1.957 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.2643, allocations: 58.09 kB / 409.8 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.2644, allocations: 105 kB / 409.9 MB, free: 1.93 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005121/0.2649, allocations: 419.4 kB / 410.3 MB, free: 1.719 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2649, allocations: 0 / 410.3 MB, free: 1.719 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003152/0.2652, allocations: 51.84 kB / 410.3 MB, free: 1.715 MB / 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.0001215/0.2653, allocations: 113.9 kB / 410.4 MB, free: 1.621 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005383/0.2659, allocations: 483 kB / 410.9 MB, free: 1.246 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2659, allocations: 0 / 410.9 MB, free: 1.246 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002809/0.2661, allocations: 382.2 kB / 411.3 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008384/0.267, allocations: 199.5 kB / 411.5 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.2683, allocations: 0.8047 MB / 412.3 MB, free: 380 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004544/0.2687, allocations: 0.8151 MB / 413.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.119e-05/0.2688, allocations: 14.09 kB / 413.1 MB, free: 15.63 MB / 334.1 MB Notification: Performance of SimCode: time 8.92e-07/0.2688, allocations: 0 / 413.1 MB, free: 15.63 MB / 334.1 MB Notification: Performance of Templates: time 0.007286/0.276, allocations: 4.283 MB / 417.4 MB, free: 13.35 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 -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: 8.248004426946864]